Ir al contenido
Menú
Se marcó esta pregunta
2960 Vistas

i need multiple invoices for printing two different versions of my invoices. For example One with RML-Header, one without. The best thing i could imagine is that i have two different invoices (*.sxw files) which i can edit separately via the OpenERP Report Designer and which i could choose in the invoice Print drop down list.

With Report Action and Action Binding i already got my Print dropdown menu listed my two Report Actions. If click on print i can choose "invoice 1" "invoice 2".

But if i want to print one of them, i get always the same file (its not the "account_print_invoice.sxw" in addons/account/report" where are the files from openerp report designer?)

Now how can i tell the system if i click on "invoice 1" i want xxxx.sxw and if i click on "invoice 2" i want yyyy.sxw?

Avatar
Descartar
Autor

okay, i just found out that openERP creates a new sxw file for every new object in a Report. Nice! but still the same file when i try to print a invoice...