purchase_analytic_plan XML view error

Bug #1263218 reported by D Verhelst

This bug report was converted into a question: question #241088: purchase_analytic_plan XML view error.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

purchase_analytic_plans/purchase_analytic_plans_view.xml
seems to contain invalid code :

<!-- Replace analytic_id with analytics_id in account.invoice.line -->

    <record model="ir.ui.view" id="invoice_supplier_form_inherit">
        <field name="name">account.invoice.supplier.form.inherit</field>
        <field name="model">account.invoice</field>
        <field name="inherit_id" ref="account.invoice_supplier_form"/>
        <field name="priority">2</field>
        <field name="arch" type="xml">
            <field name="account_analytic_id" position="replace">
                <field name="analytics_id" domain="[('plan_id','&lt;&gt;',False)]" context="{'journal_id':parent.journal_id}" groups="analytic.group_analytic_accounting"/>
            </field>
        </field>
    </record>

comment implies account.invoice.line.
the actual code tries to update account.invoice.
analytics_id exists on account.invoice.line, not on account.invoice.

Changed in openobject-addons:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.