Buon giorno, sto provando ad utilizzare la versione 12 di odoo, utilizzando la iso PNlug (ubuntu).
Quando provo ad installare il modulo DMS_muk, odoo mi rispondecon il seguente errore.
C'è qualche soluzione?
Grazie Enrico
Odoo Server Error - Errore di validazione; I nomi dei campi devono essere univoci per modello.
Allego gli errori del file log:
022-01-18 13:30:48,855
24693 WARNING contabita odoo.addons.base.models.ir_model: Two fields
(module_mgmtsystem_quality, module_quality_cont>
2022-01-18 13:30:50,188 24693 ERROR contabita odoo.sql_db: bad query: INSERT
INTO ir_model_fields (model_id,model,name,field_description,hel>
ERROR: duplicate key value violates unique constraint
"ir_model_fields_name_unique"
DETAIL: Key (model, name)=(product.price_list, price_list) already
exists.
2022-01-18 13:30:50,189 24693 WARNING contabita odoo.modules.loading: Transient
module states were reset
2022-01-18 13:30:50,190 24693 ERROR contabita odoo.modules.registry: Failed to
load registry
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 86,
in new
odoo.modules.load_modules(registry._db, force_demo, status,
update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py",
line 419, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py",
line 311, in load_marked_modules
loaded, processed = load_module_graph(
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py",
line 195, in load_module_graph
registry.init_models(cr, model_names, {'module': package.name})
File
"/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 317,
in init_models
func()
File "/usr/lib/python3/dist-packages/odoo/models.py", line
282, in _reflect
self.env['ir.model.fields']._reflect_model(self)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_model.py",
line 898, in _reflect_model
ids = query_insert(cr, self._table, to_insert)
File
"/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_model.py",
line 52, in query_insert
cr.execute(query, params)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line
148, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line
225, in execute
res = self._obj.execute(query, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint
"ir_model_fields_name_unique"
DETAIL: Key (model, name)=(product.price_list, price_list) already
exists.