Hello ,
I solved a delivery problem in a previous post. By doing this I thought I could upgrade to Odoo 8.
But I have this error in trying to convert a basic openerp 7 to odoo 8
2016-01-29 17:50:37,737 3844 ERROR bdd_migrated openerp.addons.base.ir.ir_ui_view: Field product_uom
does not exist
Contexte error :
Vue stock.inventory.line.form
[view_id: 547, xml_id: n/a, model: stock.inventory.line, parent_id: n/a]
2016-01-29 17:50:37,737 3844 WARNING bdd_migrated
openerp.addons.base.ir.ir_ui_view: Can't render view for model:
stock.inventory.line. If you are migrating between major versions of
OpenERP, this is to be expected (otherwise, do not run OpenUpgrade
server).
2016-01-29 17:50:37,789 3844 ERROR bdd_migrated
openerp.addons.base.ir.ir_ui_view: The element '' can not be located in
the parent view
Contexte error :
Vue product.product.form
[view_id: 221, xml_id: product.product_normal_form_view, model: product.product, parent_id: 239]
2016-01-29 17:50:37,789 3844 CRITICAL bdd_migrated openerp.service.server: Failed to initialize database bdd_migrated
.
Traceback (most recent call last):
File "/var/tmp/openupgrade/8.0/server/openerp/service/server.py", line 929, in preload_registries
registry = RegistryManager.new(dbname, update_module=update_module)
File "/var/tmp/openupgrade/8.0/server/openerp/modules/registry.py", line 370, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/var/tmp/openupgrade/8.0/server/openerp/modules/loading.py", line 483, in load_modules
if not Views._validate_custom_views(cr, SUPERUSER_ID, model):
File "/var/tmp/openupgrade/8.0/server/openerp/api.py", line 256, in wrapper
return old_api(self, args, *kwargs)
File "/var/tmp/openupgrade/8.0/server/openerp/addons/base/ir/ir_ui_view.py", line 1128, in _validate_custom_views
return self._check_xml(cr, uid, ids, context=context)
File "/var/tmp/openupgrade/8.0/server/openerp/api.py", line 256, in wrapper
return old_api(self, args, *kwargs)
File "/var/tmp/openupgrade/8.0/server/openerp/addons/base/ir/ir_ui_view.py", line 197, in _check_xml
view_def = self.read_combined(cr, uid, view.id, ['arch'], context=context)
File "/var/tmp/openupgrade/8.0/server/openerp/api.py", line 256, in wrapper
return old_api(self, args, *kwargs)
File "/var/tmp/openupgrade/8.0/server/openerp/addons/base/ir/ir_ui_view.py", line 556, in read_combined
cr, uid, arch_tree, view_arch, parent_view['id'], context=context)
File "/var/tmp/openupgrade/8.0/server/openerp/api.py", line 256, in wrapper
return old_api(self, args, *kwargs)
File "/var/tmp/openupgrade/8.0/server/openerp/addons/base/ir/ir_ui_view.py", line 498, in apply_inheritance_specs
self.raise_view_error(cr, uid, _("Element '%s' cannot be located in parent view") % tag, inherit_id, context=context)
File "/var/tmp/openupgrade/8.0/server/openerp/api.py", line 256, in wrapper
return old_api(self, args, *kwargs)
File "/var/tmp/openupgrade/8.0/server/openerp/addons/base/ir/ir_ui_view.py", line 383, in raise_view_error
raise AttributeError(message)
AttributeError: L'\xe9l\xe9ment '' ne peut \xeatre localis\xe9 dans la vue parente
Contexte de l'erreur :
Vue product.product.form
[view_id: 221, xml_id: product.product_normal_form_view, model: product.product, parent_id: 239] 2016-01-29 17:50:37,806 3844 INFO bdd_migrated openerp.service.server: Initiating shutdown 2016-01-29 17:50:37,806 3844 INFO bdd_migrated openerp.service.server: Hit CTRL-C again or send a second signal to force the shutdown.