I updated my openerp installation by
/opt/kjellberg-erp/kjerp_7.0_integration/bin/openerp-server --addons-path=/opt/kjellberg-erp/kjerp_7.0_integration/lib/addons/HEAD,/opt/kjellberg-erp/kjerp_7.0_integration/lib/client/HEAD/addons --config=/opt/kjellberg-erp/kjerp_7.0_integration/etc/openerp-server.conf --stop-after-init --log-level=info -u MODULES
MODULES is a comma seperated list of modules.
After a while the error occurs:
2014-05-22 15:32:10,457 4739 INFO integration_f openerp.addons.base.ir.ir_model: Deleting email@example.com 2014-05-22 15:32:10,464 4739 ERROR integration_f openerp.sql_db: bad query: delete from account_analytic_plan where id IN (12)
1. Why does the update mechanism run a deletion of data ?
2. The Database design shows the constraint, but also on delete set null, i.e. the error comes from database design.
3. How can we resolve this ?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/22/14, 12:04 PM|
|Seen: 573 times|
|Last updated: 3/16/15, 8:10 AM|