Comment 55 for bug 388145

Revision history for this message
Jan Verlaan (jan-verlaan) wrote :

Fatal Error when testing Price diffs.
Filled the field in Product-Categories with a account for the new field "Price Difference Account"
Then when opening the product tree / form via Menu -> Products -> Products the following error is generated;

Environment Information :
PlatForm : Linux-2.6.27-14-generic-i686-with-debian-lenny-sid
Operating System : posix
Operating System Release : 2.6.27-14-generic
Operating System Version : #1 SMP Tue Jun 30 19:57:39 UTC 2009
Operating System Architecture : 32bit
Operating System Locale : nl_NL.UTF8
Python Version : 2.5.2
OpenERP-Client Version : 5.0.1
Last revision No. & ID :Traceback (most recent call last):
  File "/home/jverlaan/openerp_stable/openerp/server/bin/netsvc.py", line 240, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/jverlaan/openerp_stable/openerp/server/bin/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/home/jverlaan/openerp_stable/openerp/server/bin/service/web_services.py", line 568, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/home/jverlaan/openerp_stable/openerp/server/bin/osv/osv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/jverlaan/openerp_stable/openerp/server/bin/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/jverlaan/openerp_stable/openerp/server/bin/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/jverlaan/openerp_stable/openerp/addons/stock/product.py", line 175, in fields_view_get
    res = super(product_product,self).fields_view_get(cr, uid, view_id, view_type, context, toolbar)
  File "/home/jverlaan/openerp_stable/openerp/server/bin/osv/orm.py", line 1213, in fields_view_get
    result['arch'] = _inherit_apply_rec(result['arch'], sql_res[3])
  File "/home/jverlaan/openerp_stable/openerp/server/bin/osv/orm.py", line 1209, in _inherit_apply_rec
    result = _inherit_apply(result, inherit)
  File "/home/jverlaan/openerp_stable/openerp/server/bin/osv/orm.py", line 1169, in _inherit_apply
    raise AttributeError(_("Couldn't find tag '%s' in parent view !") % tag)
AttributeError: Couldn't find tag '<xpath expr="/form/notebook/page/field[@name='property_account_expense']">' in parent view !