← Back to team overview

openerp-india team mailing list archive

[Bug 1263218] Re: purchase_analytic_plan XML view error

 

** Changed in: openobject-addons
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/openobject-addons/+question/241088

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1263218

Title:
  purchase_analytic_plan XML view error

Status in OpenERP Addons (modules):
  Invalid

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1263218/+subscriptions


References