This question has been flagged

Hello!

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!

Avatar
Discard
Author Best Answer

Nevermind, it's working.. My error. Maybe someone could close the question?

Avatar
Discard