← Back to team overview

openerp-india team mailing list archive

[Bug 1197504] Re: modul delivery/lieferkosten could not be installed

 

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

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

Title:
  modul delivery/lieferkosten could not be installed

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  on openerp7 the modul delivery/lieferkosten could not be installed:

  
  2013-07-03 18:49:00,781 28367 INFO db01 openerp.modules.module: module delivery: creating or updating database tables
  2013-07-03 18:49:01,417 28367 INFO db01 openerp.modules.loading: module delivery: loading security/ir.model.access.csv
  2013-07-03 18:49:01,531 28367 INFO db01 openerp.modules.loading: module delivery: loading delivery_report.xml
  2013-07-03 18:49:01,554 28367 INFO db01 openerp.modules.loading: module delivery: loading delivery_view.xml
  2013-07-03 18:49:02,095 28367 ERROR db01 openerp.addons.base.ir.ir_ui_view: Can't render view  for model: sale.order
  Traceback (most recent call last):
    File "/opt/openerp/openobject-server/openerp/addons/base/ir/ir_ui_view.py", line 126, 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 "/opt/openerp/openobject-server/openerp/osv/orm.py", line 2235, in fields_view_get
      arch=apply_view_inheritance(cr, user, source, sql_res['id']),
    File "/opt/openerp/openobject-server/openerp/osv/orm.py", line 2193, in apply_view_inheritance
      source = apply_inheritance_specs(source, view_arch, view_id)
    File "/opt/openerp/openobject-server/openerp/osv/orm.py", line 2177, in apply_inheritance_specs
      raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
    File "/opt/openerp/openobject-server/openerp/osv/orm.py", line 2070, in raise_view_error
      %  (child_view.xml_id, self._name, error_msg))
  AttributeError: View definition error for inherited view 'sale_exceptions.view_order_form' on model 'sale.order': Element '<xpath expr="/form/notebook/page[@string='Sales Order']/group/field[@name='state']">' not found in parent view 'sale.view_order_form'
  2013-07-03 18:49:02,097 28367 ERROR db01 openerp.tools.convert: Parse error in /opt/openerp/version-control-7.0/openobject-addons/delivery/delivery_view.xml:296: 
  <record id="view_order_withcarrier_form" model="ir.ui.view">
              <field name="name">delivery.sale.order_withcarrier.form.view</field>
              <field name="model">sale.order</field>
              <field name="inherit_id" ref="sale.view_order_form"/>
              <field name="arch" type="xml">
                  <xpath expr="//group[@name='sale_total']" position="after">
                      <group style="width: 65%%">
                          <label for="carrier_id"/>
                          <div>
                              <field name="carrier_id" context="{'order_id':active_id or False}" class="oe_inline"/>
                              <button name="delivery_set" string="Add in Quote" type="object" class="oe_edit_only" attrs="{'invisible':['|',('carrier_id','=',False),('state','not in',('draft','sent'))]}"/>
                              <br/>
                              <label string="If you don't 'Add in Quote', the exact price will be computed when invoicing based on delivery order(s)." class="oe_edit_only" attrs="{'invisible':['|',('carrier_id','=',False),('state','not in',('draft','sent'))]}"/>
                          </div>
                      </group>
                  </xpath>
              </field>
          </record>
  Traceback (most recent call last):
    File "/opt/openerp/openobject-server/openerp/tools/convert.py", line 847, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/opt/openerp/openobject-server/openerp/tools/convert.py", line 814, in _tag_record
      id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
    File "/opt/openerp/openobject-server/openerp/addons/base/ir/ir_model.py", line 963, in _update
      res_id = model_obj.create(cr, uid, values, context=context)
    File "/opt/openerp/openobject-server/openerp/addons/base/ir/ir_ui_view.py", line 103, in create
      return super(view, self).create(cr, uid, values, context)
    File "/opt/openerp/openobject-server/openerp/osv/orm.py", line 4470, in create
      self._validate(cr, user, [id_new], context)
    File "/opt/openerp/openobject-server/openerp/osv/orm.py", line 1544, in _validate
      raise except_orm('ValidateError', '\n'.join(error_msgs))
  except_orm: ('ValidateError', u'Fehler w\xe4hrend der Pr\xfcfung des Feldes field(s) arch: Invalid XML for View Architecture!')
  2013-07-03 18:49:02,100 28367 ERROR db01 openerp.netsvc: ValidateError
  Fehler während der Prüfung des Feldes field(s) arch: Invalid XML for View Architecture!
  Traceback (most recent call last):
    File "/opt/openerp/openobject-server/openerp/netsvc.py", line 292, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/openerp/openobject-server/openerp/service/web_services.py", line 626, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openerp/openobject-server/openerp/osv/osv.py", line 188, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/opt/openerp/openobject-server/openerp/osv/osv.py", line 144, in wrapper
      raise except_osv(inst.name, inst.value)
  except_osv: ('ValidateError', u'Fehler w\xe4hrend der Pr\xfcfung des Feldes field(s) arch: Invalid XML for View Architecture!')

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