CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have import new accounting account in odoo with csv file.
Now when I do the command to update odoo ( ./openerp-server -c odoo-server.conf -d database -u all ),
odoo wants to delete these new accounts.
log line :
2015-09-24 09:47:02,833 6929 INFO database openerp.addons.base.ir.ir_model: Deleting firstname.lastname@example.org (account.account_401GE0atdc)
Why it do this ? And of course the update crash when it want to delete a non-empty account!
Thank you Temur for your answers !!!
I found something interesting with the "external_id" used in my csv import file!
I wrote this in external_id : account.account_401GE0atdc
No error in import but delete the record if i do an update.
Now if in external_id I wrote account_401GE0atdc or account_account_401GE0atdc or __export__.account_401GE0atdc
No error in import and it not try to delete records when I do update
AFAIK for now that is an expected behavior. Update will delede/discard all customized stuff. you can safely update only if you're using original settings. Changes made from developer mode, custom fields, view customization, etc.. will be discarded. Simply it works this way now, I don't know if it'l be changed in the future. So, if you add custom fields from developer mode, customize views from developer mode, and after many more customization changes, you can't update involved modules anymore, or you loose these customizations.
About This Community
Odoo Training Center
|Asked: 9/24/15, 6:10 AM|
|Seen: 1416 times|
|Last updated: 10/30/16, 12:35 PM|