Where is this documented? And how does it solve the problem? They "both work the same" _is_ the problem.
If you load a datafile in the "init_xml" (or "data"), then you change it in the system, then you update your module: the init data is reloaded and your changes are overwritten. I have broken my production system this way. Fortunately, I knew immediately what had happened and was able to fix it quickly. Someone who has made many changes over a long period may not be so lucky. noupdate=True is hard-coded for CSV files but has no effect. Reports are that setting it for XML files also has no effect. Only running with --import-partial prevents this. "init_xml" should never overwrite existing data. Only "update_xml" should do this (and one should only use it for views and the like, not data). "init_xml" should not even try to load on updates. Combing them into one "data" is the opposite of a fix. -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Server. https://bugs.launchpad.net/bugs/510668 Title: init_xml also updates security/ir.model.access.csv Status in OpenERP Server: Invalid Bug description: if we provide a security/ir.model.access.csv file for access rights on init_xml instead update_xml, it also updates the csv though it was shifted to init_xml..... To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-server/+bug/510668/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

