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.
Thanks