Odoo Help

Welcome!

This community 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.

0

OpenERP 7 Clearing binary sxw rml fields

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

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!

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

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

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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