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 am trying to write a parser (render_html) for a custom template which inherits report.minimal_layout without sucess.
I can write parsers (render_html) for other templates.
This is my template:
<template id="report_saleorder_css" inherit_id="report.minimal_layout">
<xpath expr="html/head/*[position() = last()]" position="after">
<span>AAA</span><span><t t-esc="css_file" /></span><span>BBB</span>
I would like to write a parser that passes css_file as variable.
Please avoid standard non-tested answers, as mentioned, I already tried the standard parser from Odoo documentation and it did not work, and I can perfectly write parsers for other templates. I begin to suspect that templates belonging to report (and inherited ones) are outside the scope of custom classes with render_html. Thanks
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/22/17, 9:35 PM|
|Seen: 330 times|
|Last updated: 6/22/17, 9:37 PM|