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've prepared some custom RML report for CUSTOMERS. It's working fine for me. But I want it only for the CUSTOMERS and not for the SUPPLIERS. How can i remove or avoid the report name from being listed in the print button of SUPPLIERS.
And there's one more condition for CUSTOMERS, i.e., suppose there's a custom boolean flag i've added in the partner table for the CUSTOMERS. So i want the report to be generated only for those CUSTOMERS, where this flag is TRUE or 1.
Please help me with this. Any help would be appreciated :)
Thanks Ray for the reply, so what u r suggesting is to print something informative as "THIS REPORT NOT VALID FOR SUPPLIERS" on the pdf report if we are printing for any supplier. I can go with this, but :) my requirement is to restrict the PDF generation in this case. So i was just wondering if we could use any "context" or "domain" to add filters in the report tag defined in the XML file or something like that. Once again thanks for ur reply. :) Cheers ASP
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: 6/25/14, 3:34 AM|
|Seen: 1811 times|
|Last updated: 3/16/15, 8:10 AM|