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
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
|Asked: 6/25/14, 3:34 AM|
|Seen: 1491 times|
|Last updated: 3/16/15, 8:10 AM|