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 want to set new template in rml according to the condition. I tried the below code but not succeeded yet.
<docAssign var='n' expr='5'/> <docIf cond='n>5'> <setNextTemplate name="sec"/> <includePdfPages filename="Sales Order.pdf" /> <nextFrame/> <docElse/> <para style="terp_default_8"> </para> </docIf>
Please help me to set the template.
I'm facing the same problem... It seems that conditional formatting is not yet implemented in OpenERP's RML processing. It's explained in this thread I just found out, conditional formatting must be done other way. Check it out: https://www.odoo.com/forum/help-1/question/reportlab-conditional-table-header-15143
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: 5/12/14, 2:38 AM|
|Seen: 2125 times|
|Last updated: 3/16/15, 8:10 AM|