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
|Asked: 3/11/14, 4:43 PM|
|Seen: 1214 times|
|Last updated: 3/16/15, 8:10 AM|