openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #03545
[Bug 907182] [NEW] Account: Yml crashes
Public bug reported:
* After installing account voucher , upgrade Account module it generates
following Traceback
Traceback (most recent call last):
File "/home/han/rdtool/server/trunk/openerp/modules/loading.py", line 102, in load_test
_load_data(cr, module_name, idref, mode, 'test')
File "/home/han/rdtool/server/trunk/openerp/modules/loading.py", line 138, in _load_data
tools.convert_yaml_import(cr, module_name, fp, idref, mode, noupdate)
File "/home/han/rdtool/server/trunk/openerp/tools/yaml_import.py", line 909, in yaml_import
yaml_interpreter.process(yaml_string)
File "/home/han/rdtool/server/trunk/openerp/tools/yaml_import.py", line 844, in process
self._process_node(node)
File "/home/han/rdtool/server/trunk/openerp/tools/yaml_import.py", line 857, in _process_node
self.process_record(node)
File "/home/han/rdtool/server/trunk/openerp/tools/yaml_import.py", line 347, in process_record
view = model.fields_view_get(self.cr, 1, varg, 'form', context)
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 2114, in fields_view_get
xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1754, in __view_look_dom_arch
fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1703, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1703, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1703, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1626, in __view_look_dom
xarch, xfields = relation.__view_look_dom_arch(cr, user, f, view_id, ctx)
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1774, in __view_look_dom_arch
raise except_orm('View error', msg)
except_orm: ('View error', u"Can't find field 'voucher_id' in the following view parts composing the view of object model 'account.bank.statement':\n * account.bank.statement.voucher.tree.inherit\n * account.bank.statement.voucher.form.inherit\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model")
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/907182
Title:
Account: Yml crashes
Status in OpenERP Addons (modules):
New
Bug description:
* After installing account voucher , upgrade Account module it
generates following Traceback
Traceback (most recent call last):
File "/home/han/rdtool/server/trunk/openerp/modules/loading.py", line 102, in load_test
_load_data(cr, module_name, idref, mode, 'test')
File "/home/han/rdtool/server/trunk/openerp/modules/loading.py", line 138, in _load_data
tools.convert_yaml_import(cr, module_name, fp, idref, mode, noupdate)
File "/home/han/rdtool/server/trunk/openerp/tools/yaml_import.py", line 909, in yaml_import
yaml_interpreter.process(yaml_string)
File "/home/han/rdtool/server/trunk/openerp/tools/yaml_import.py", line 844, in process
self._process_node(node)
File "/home/han/rdtool/server/trunk/openerp/tools/yaml_import.py", line 857, in _process_node
self.process_record(node)
File "/home/han/rdtool/server/trunk/openerp/tools/yaml_import.py", line 347, in process_record
view = model.fields_view_get(self.cr, 1, varg, 'form', context)
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 2114, in fields_view_get
xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1754, in __view_look_dom_arch
fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1703, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1703, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1703, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1626, in __view_look_dom
xarch, xfields = relation.__view_look_dom_arch(cr, user, f, view_id, ctx)
File "/home/han/rdtool/server/trunk/openerp/osv/orm.py", line 1774, in __view_look_dom_arch
raise except_orm('View error', msg)
except_orm: ('View error', u"Can't find field 'voucher_id' in the following view parts composing the view of object model 'account.bank.statement':\n * account.bank.statement.voucher.tree.inherit\n * account.bank.statement.voucher.form.inherit\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model")
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/907182/+subscriptions
Follow ups
References