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.
How to add -via xml in a module- an action binding so a custom invoice template report appears in the print menu
I have a module which generates a custom invoice template. The invoices appear as a new couple of views.
So far, so good.
Now I have to create the proper action bindings so the new generated Qweb template for the invoice appears in the PRINT menu.
I know how to do it via web thanks to MPA chaps: https://www.askmpa.com/creating-multiple-invoice-templates-in-odoo-v8/
But I would like to understand how to create via XML the required report and corresponding action binding (screenshots 1 to 5 in the above tutorial). Now I can only do it manually via GUI.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 9/23/15, 5:11 PM|
|Seen: 506 times|
|Last updated: 9/23/15, 5:14 PM|