跳至內容
選單
此問題已被標幟
2 回覆
6749 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
11月 16
4286
1
8月 23
1552
1
11月 20
3372
2
1月 24
3370
0
12月 21
2560