Odoo Help


OpenERP 7 Clearing binary sxw rml fields

Michael O. Lambert
on 3/11/14, 4:43 PM 1,723 views


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 expr="//field[@name='report_file']" position="after">
                <field name="report_sxw_content_data"/>

Thanks for your help!

Michael O. Lambert
On 3/11/14, 5:09 PM

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

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/11/14, 4:43 PM
Seen: 1723 times
Last updated: 3/16/15, 8:10 AM