c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #11976
[Bug 701683] [NEW] [6.0 rc2] Setup/upgrade/run fails for init:module account_analytic_plans
Public bug reported:
following (I guess) the rev 4219 which deletes the bank statement form,
missing elements lead to failure on install for the mentined module:
[2011-01-11 22:23:43,825][bs_test_01] INFO:init:module account_analytic_plans: loading security/ir.model.access.csv
[2011-01-11 22:23:43,914][bs_test_01] INFO:init:module account_analytic_plans: loading account_analytic_plans_view.xml
[2011-01-11 22:23:44,414][bs_test_01] ERROR:tools.convert.xml_import:Parse error in /home/openerp/addons/account_analytic_plans/account_analytic_plans_view.xml:315:
<record id="view_bank_statement_reconcile_inherit_form" model="ir.ui.view">
<field name="name">account.bank.statement.form.inherit_1</field>
<field name="model">account.bank.statement</field>
<field name="type">form</field>
<field name="inherit_id" ref="account.view_bank_statement_reconcile_form"/>
<field name="arch" type="xml">
<xpath expr="/form/notebook/page/field[@name='line_ids']/form/field[@name='analytic_account_id']" position="replace">
<field name="analytics_id" groups="analytic.group_analytic_accounting"/>
</xpath>
</field>
</record>
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 824, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 842, in id_get
res = self.model_id_get(cr, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 851, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 817, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 579, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 817, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 572, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.view_bank_statement_reconcile_form
[2011-01-11 22:23:44,443][bs_test_01] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 167, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 397, in execute
pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 885, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 750, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 643, in load_init_update_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 975, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 824, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 842, in id_get
res = self.model_id_get(cr, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 851, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 817, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 579, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 817, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 572, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.view_bank_statement_reconcile_form
thank you!
b
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701683
Title:
[6.0 rc2] Setup/upgrade/run fails for init:module
account_analytic_plans
Status in OpenObject Addons Modules:
New
Bug description:
following (I guess) the rev 4219 which deletes the bank statement
form, missing elements lead to failure on install for the mentined
module:
[2011-01-11 22:23:43,825][bs_test_01] INFO:init:module account_analytic_plans: loading security/ir.model.access.csv
[2011-01-11 22:23:43,914][bs_test_01] INFO:init:module account_analytic_plans: loading account_analytic_plans_view.xml
[2011-01-11 22:23:44,414][bs_test_01] ERROR:tools.convert.xml_import:Parse error in /home/openerp/addons/account_analytic_plans/account_analytic_plans_view.xml:315:
<record id="view_bank_statement_reconcile_inherit_form" model="ir.ui.view">
<field name="name">account.bank.statement.form.inherit_1</field>
<field name="model">account.bank.statement</field>
<field name="type">form</field>
<field name="inherit_id" ref="account.view_bank_statement_reconcile_form"/>
<field name="arch" type="xml">
<xpath expr="/form/notebook/page/field[@name='line_ids']/form/field[@name='analytic_account_id']" position="replace">
<field name="analytics_id" groups="analytic.group_analytic_accounting"/>
</xpath>
</field>
</record>
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 824, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 842, in id_get
res = self.model_id_get(cr, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 851, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 817, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 579, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 817, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 572, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.view_bank_statement_reconcile_form
[2011-01-11 22:23:44,443][bs_test_01] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 167, in action_next
next = self.execute(cr, uid, ids, context=None)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_config.py", line 397, in execute
pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 885, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 750, in load_module_graph
load_init_update_xml(cr, m, idref, mode, kind)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 643, in load_init_update_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 975, in convert_xml_import
obj.parse(doc.getroot())
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 824, in _tag_record
f_val = self.id_get(cr, f_ref)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 842, in id_get
res = self.model_id_get(cr, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 851, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 817, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 579, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/misc.py", line 817, in cached_result
result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 572, in _get_id
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.view_bank_statement_reconcile_form
thank you!
b
Follow ups
References