← Back to team overview

openerp-india team mailing list archive

[Bug 1263218] [NEW] purchase_analytic_plan XML view error

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References