← Back to team overview

openerp-india team mailing list archive

[Bug 1094058] Re: [7.0] on module purchase installation XML error view

 

just more infomation

Traceback (most recent call last):
  File "/home/openerp/openerp7/branch/openobject-server/openerp/addons/base/ir/ir_ui_view.py", line 125, in _check_render_view
    fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context)
  File "/home/openerp/openerp7/branch/openobject-server/openerp/osv/orm.py", line 2259, in fields_view_get
    xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
  File "/home/openerp/openerp7/branch/openobject-server/openerp/osv/orm.py", line 1931, in __view_look_dom_arch
    model = res[0][1]
IndexError: list index out of range
2012-12-27 15:49:12,554 1538 ERROR sd_formation openerp.tools.convert: Parse error in /home/openerp/openerp7/branch/openobject-addons/purchase/company_view.xml:5: 
<record id="mrp_company" model="ir.ui.view">
            <field name="name">res.company.mrp.config</field>
            <field name="model">res.company</field>
            <field name="priority">19</field>
            <field name="inherit_id" ref="base.view_company_form"/>
            <field name="arch" type="xml">
                <xpath expr="//group[@name='logistics_grp']" position="inside">
                        <field name="po_lead"/>
                </xpath>
            </field>
        </record>

-- 
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/1094058

Title:
  [7.0] on module purchase installation  XML error view

Status in OpenERP Addons (modules):
  New

Bug description:
  hi,  this is an error on purchase installation module.

  /home/openerp/openerp7/branch/openobject-
  addons/purchase/company_view.xml:

  this is the view xml content give by the log

  <record id="mrp_company" model="ir.ui.view">
              <field name="name">res.company.mrp.config</field>
              <field name="model">res.company</field>
              <field name="priority">19</field>
              <field name="inherit_id" ref="base.view_company_form"/>
              <field name="arch" type="xml">
                  <xpath expr="//group[@name='logistics_grp']" position="inside">
                          <field name="po_lead"/>
                  </xpath>
              </field>
          </record>

  thanks for all

  stephane

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


References