CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have created two RML reports in event.registration model say A and B. Now I have to print one of these reports based on a condition from the 'Print' inside form and list view(If condition is true print A else print B). This can be done easily by using a button inside the form view and to check the condition, but I want it to be printed from the list view also. So it must be printed from the 'Print' button in the list view and I don't want to show both the report names there, only something like this 'Print Registration'. On clicking the 'Print Registration' I need to check the condition and print the desired report. How this can be done?
About This Community
Odoo Training Center
|Asked: 10/5/15, 8:45 AM|
|Seen: 1196 times|
|Last updated: 10/5/15, 11:57 AM|