Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6871 มุมมอง

Hello

I want to add information about the company and client to each point of sale receipt. I saw that this can be done changing  the class pos-sale-ticket in the file pos.xml.

Normally to make the prints i use custom rml files in a custom module, can i do the same? Creating a RML of the pos-receipt, instead of making changes in the point-of-sale module.


Thanks

João Sequeira

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello

Please Contact me on

parikshitvaghasiya@gmail.com

Thanks,

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello !


As you know that you have to change in pos-sale-ticket in xml file so that is correct.

Now you can print like <t t-esc="widget.pos.company.name"/>

So instead of name, you can put other fields information but for that again you have to load those fields in model.js file where model: 'res.company', and all fields information is added.


Thanks,

Acespritech Solutions Pvt. Ltd.

Skype: acespritech

info@acespritech.com

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 16
4396
1
ส.ค. 23
1658
1
พ.ย. 20
3500
2
ม.ค. 24
3489
0
ธ.ค. 21
2693