hi,
I nedd to migration/update from one old openerp 6.1 to odoo 11 on debian stretch.
i have install oddo package change the user run odoo to a same user role of my old database.
when i run the update command : (fh is my user/role , fh_dons is my db
sudo -u fh /usr/bin/odoo -u all -d fh_dons
I have this result:
2017-11-15 09:19:07,278 189754 INFO ? odoo: Odoo version 11.0-20171114 2017-11-15 09:19:07,280 189754 INFO ? odoo: addons paths: ['/opt/fh/.local/share/Odoo/addons/11.0', '/usr/lib/python3/dist-packages/odoo/addons']
2017-11-15 09:19:07,281 189754 INFO ? odoo: database: default@default:default 2017-11-15 09:19:07,314 189754 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069 2017-11-15 09:19:07,332 189754 INFO fh_dons odoo.modules.loading: loading 1 modules...
2017-11-15 09:19:07,534 189754 INFO fh_dons odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf 2017-11-15 09:19:08,053 189754 INFO fh_dons odoo.modules.registry: module base: creating or updating database tables 2017-11-15 09:19:09,144 189754 INFO fh_dons odoo.models: Computing parent left and right for table ir_ui_menu...
2017-11-15 09:19:09,510 189754 ERROR fh_dons odoo.modules.registry: Failed to load registry Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 84, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 284, in load_modules
loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 135, in load_module_graph
registry.init_models(cr, model_names, {'module': package.name})
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 302, in init_models
model._auto_init()
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2136, in _auto_init
new = field.update_db(self, columns)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 852, in update_db
self.update_db_column(model, column)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1387, in update_db_column
sql.convert_column(model._cr, model._table, self.name, self.column_type[1])
File "/usr/lib/python3/dist-packages/odoo/tools/sql.py", line 92, in convert_column
log_exceptions=False)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 155, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 232, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: ERREUR: ne peut pas modifier la colonne héritée « usage »
Any solution??
thx in advance