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 use OpenERP7.
I've inherit a view to show the binary fields containing the xml and rml report file. I want to be able to clear the fields without going in the database and emptying it by my self. Unfortunately, there's nothing in the fields of the view and when I get in edit mode, I clear the file but it's like there was nothing in the field so even if I save my change, it didn't change anything. Does someone have done this before?
<record id="act_report_xml_view_file" model="ir.ui.view"> <field name="name">ir.actions.report.xml.file</field> <field name="model">ir.actions.report.xml</field> <field name="inherit_id" ref="base.act_report_xml_view"/> <field name="arch" type="xml"> <xpath expr="//field[@name='model']" position="after"> <field name="report_rml_content_data"/> </xpath> <xpath expr="//field[@name='report_file']" position="after"> <field name="report_sxw_content_data"/> </xpath> </field> </record>
Thanks for your help!
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
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: 3/11/14, 4:43 PM|
|Seen: 1304 times|
|Last updated: 3/16/15, 8:10 AM|