when installing on a fresh database:
2014-03-24 11:16:38,231 17408 INFO test_ocb_oca70 openerp.modules.loading: module pxgo_bank_statement_running_balance: loading bank_statement_view.xml
2014-03-24 11:16:38,238 17408 WARNING test_ocb_oca70 openerp.addons.base.ir.ir_ui_view: Setting the `type` field is deprecated in the `ir.ui.view` model.
2014-03-24 11:16:38,256 17408 ERROR test_ocb_oca70 openerp.addons.base.ir.ir_ui_view: Can't render view for model: account.bank.statement
Traceback (most recent call last):
File "/home/afayolle/work/oerp/server/ocb-7.0/openerp/addons/base/ir/ir_ui_view.py", line 126, in _check_render_view
fvg = self.pool.get(view.model).fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 2248, in fields_view_get
arch=apply_view_inheritance(cr, user, source, sql_res['id']),
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 2206, in apply_view_inheritance
source = apply_inheritance_specs(source, view_arch, view_id)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 2190, in apply_inheritance_specs
raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 2083, in raise_view_error
% (child_view.xml_id, self._name, error_msg))
AttributeError: View definition error for inherited view '' on model 'account.bank.statement': Element '<xpath expr="//field[@name='line_ids']/tree/field[@name='reconcile_id']">' not found in parent view 'account.view_bank_statement_form'
2014-03-24 11:16:38,262 17408 ERROR test_ocb_oca70 openerp.tools.convert: Parse error in /home/afayolle/work/oca/account-payment/7.0/pxgo_bank_statement_running_balance/bank_statement_view.xml:8:
<record id="view_bank_statement_form_running_balance_1" model="ir.ui.view">
<field name="name">account.bank.statement.form.add_running_balance_1</field>
<field name="model">account.bank.statement</field>
<field name="type">form</field>
<field name="inherit_id" ref="account.view_bank_statement_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='line_ids']/tree/field[@name='reconcile_id']" position="after">
<field name="running_balance"/>
</xpath>
</field>
</record>
Traceback (most recent call last):
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 847, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 814, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/home/afayolle/work/oerp/server/ocb-7.0/openerp/addons/base/ir/ir_model.py", line 969, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/afayolle/work/oerp/server/ocb-7.0/openerp/addons/base/ir/ir_ui_view.py", line 103, in create
return super(view, self).create(cr, uid, values, context)
File "/home/afayolle/work/oca/openerp-connector/7.0/connector/producer.py", line 42, in create
record_id = create_original(self, cr, uid, vals, context=context)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 4543, in create
self._validate(cr, user, [id_new], context)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 1557, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')
Traceback (most recent call last):
File "bin/openerp_command", line 65, in <module>
openerpcommand.main.run()
File "/home/afayolle/work/oerp/testbox-ocb+oca/openerp-command/openerpcommand/main.py", line 7, in run
args.run(args)
File "/home/afayolle/work/oerp/testbox-ocb+oca/openerp-command/openerpcommand/initialize.py", line 74, in run
registry = install_openerp(args.database, not args.no_create, module_names, not config['without_demo'])
File "/home/afayolle/work/oerp/testbox-ocb+oca/openerp-command/openerpcommand/initialize.py", line 24, in install_openerp
database_name, update_module=True, force_demo=install_demo_data)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/registry.py", line 203, in get
update_module)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/registry.py", line 233, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 354, in load_modules
loaded_modules, update_module)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 256, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 187, in load_module_graph
load_update_xml(module_name, idref, mode)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 74, in <lambda>
load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/modules/loading.py", line 124, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 954, in convert_xml_import
obj.parse(doc.getroot())
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 847, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/tools/convert.py", line 814, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/home/afayolle/work/oerp/server/ocb-7.0/openerp/addons/base/ir/ir_model.py", line 969, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/afayolle/work/oerp/server/ocb-7.0/openerp/addons/base/ir/ir_ui_view.py", line 103, in create
return super(view, self).create(cr, uid, values, context)
File "/home/afayolle/work/oca/openerp-connector/7.0/connector/producer.py", line 42, in create
record_id = create_original(self, cr, uid, vals, context=context)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 4543, in create
self._validate(cr, user, [id_new], context)
File "/home/afayolle/work/oerp/openobject-server/ocb-7.0/openerp/osv/orm.py", line 1557, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
openerp.osv.orm.except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')