Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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.
Acespritech Solutions Pvt. Ltd.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/20/15, 12:24 PM|
|Seen: 1722 times|
|Last updated: 9/4/15, 2:10 AM|