support321 / master-app

A new odoo based module for calls project management
0 stars 1 forks source link

Log Error on installing import modules #18

Closed support321 closed 4 years ago

support321 commented 4 years ago

Making a fresh install i noticed this on the log:

2019-11-25 15:06:48,126 6162 ERROR test-import odoo.sql_db: bad query: b"\n                INSERT INTO ir_model_data (module, name, model, res_id, noupdate, date_init, date_update)\n                VALUES ('gestcall_import_data', 'access_import_import_public', 'ir.model.access', 211, false, now() at time zone 'UTC', now() at time zone 'UTC'), ('gestcall_import_data', 'access_import_import_public', 'ir.model.access', 212, false, now() at time zone 'UTC', now() at time zone 'UTC')\n                ON CONFLICT (module, name)\n                DO UPDATE SET date_update=(now() at time zone 'UTC') \n            "
ERROR: the command ON CONFLICT DO UPDATE cannot touch the rows a second time
HINT:  Make sure there are no rows proposed for inclusion in the same command that have the same constrained values.

2019-11-25 15:06:48,127 6162 ERROR test-import odoo.addons.base.models.ir_model: Failed to insert ir_model_data
('gestcall_import_data', 'access_import_import_public', 'ir.model.access', 211, False)
('gestcall_import_data', 'access_import_import_public', 'ir.model.access', 212, False) 

then all seems to go on anyway (excluding known bugs).

support321 commented 4 years ago

resolved