timesheet inherit view
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
Version 7
I have created a custom module to add some functionality to the timesheet.
i use the following code to hinerit end inject a button
<record model="ir.ui.view" id="omnia_
<field name="name"
<field name="model"
<field name="priority" eval="18"/>
<field name="inherit_id" ref="hr_
<field name="arch" type="xml">
<xpath expr="/
</record>
the first time i install the module works perfect, but if i upgrade the module this error occures:
2013-09-18 12:07:49,811 7084 ERROR ek-01 openerp.
Traceback (most recent call last):
File "d:\d\OmniaSolu
fvg = self.pool.
AttributeError: 'NoneType' object has no attribute 'fields_view_get'
2013-09-18 12:07:49,842 7084 ERROR ek-01 openerp.
<record model="ir.ui.view" id="omnia_
<field name="name"
<field name="model"
<field name="priority" eval="18"/>
<field name="inherit_id" ref="hr_
<field name="arch" type="xml">
<xpath expr="/
</record>
Traceback (most recent call last):
File "D:\d\OmniaSolu
self.
File "D:\d\OmniaSolu
id = self.pool.
File "d:\d\OmniaSolu
res_id = model_obj.
File "d:\d\OmniaSolu
return super(view, self).create(cr, uid, values, context)
File "D:\d\OmniaSolu
self.
File "D:\d\OmniaSolu
raise except_
except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
errore ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
2013-09-18 12:07:53,990 7084 ERROR ek-01 openerp.netsvc: ValidateError
Error occurred while validating the field(s) arch: Invalid XML for View Architecture!
Traceback (most recent call last):
File "D:\d\OmniaSolu
result = ExportService.
File "D:\d\OmniaSolu
res = fn(db, uid, *params)
File "D:\d\OmniaSolu
return self.execute(db, uid, obj, method, *args, **kw or {})
File "D:\d\OmniaSolu
raise except_
except_osv: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
any hint is appreciated
regards,
Matteo
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Matteo,
Would you please provide the module if possible?
We are unable to face this problem.
Please provide the info if the problem still persists.
Thanks.