error opening form
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
branch-server 2010
branch-addons official 2660
branch-addons chricar_
stable_
Environment Information :
System : Linux-2.
OS Name : posix
LSB Version: core-2.
Distributor ID: SUSE LINUX
Description: openSUSE 11.2 (x86_64)
Release: 11.2
Codename: n/a
Operating System Release : 2.6.31.
Operating System Version : #1 SMP PREEMPT 2010-01-27 08:20:11 +0100
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF8
Python Version : 2.6.2
OpenERP-Client Version : 5.0.7
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/
result = LocalService(
File "/home/
return getattr(self, method)(*params)
File "/home/
res = my_fct(db, uid, passwd, object, method, *args)
File "/home/
return fct_src(db, uid, passwd, object, method, *args)
File "/home/
res = super(recording
File "/home/
res = service.execute(db, uid, object, method, *args)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
result = old_fields_
File "/home/
result['arch'] = _inherit_
File "/home/
result = _inherit_
File "/home/
raise AttributeError(
AttributeError: Couldn't find tag '<field name="type">' in parent view !
the reason is here
./delivery/
<record id="view_
<field name="name"
<field name="type"
<field name="model"
<field name="inherit_id" ref="stock.
<field name="arch" type="xml">
</record>
for some reason the field name="type" was not available in stock.picking.
(actually I do not see much reason to show the content of type "Getting goods" in a form called "Incoming Products)
what I'd like to emphasis is the need for
a) check and gracefully more verbose handling xml inheritance problems to allow fast debugging.
b) automatic debugging
Hello Dr. Ferdinand,
This is not at all an issue here as this got generated due to one of your views has missed 'type' field.
I agree for your point of 'type' field in Incoming Products, but this can never be treated as an error or a serious issue.
Thanks.