@grendotrash, you should restart you server with the option --update=all (or a specific module name). OpenERP is so magic that is it automagically adapt your database schema to the new object model and update setting records (XML) that have an id.
Though, be careful with the record update: newly created resources will keep there, but if you modified existing demo or data records, then they will be switched back to their default value (defined in the XML files). There are ways to workaround this: - package all your customization of existing records into new customization modules (possibly using the base_module record in aspiration mode, but I'm not sure it's working well enough to be done in production, seems way too slow at the very least). - comment some XML declarations in the terp meta-data (ugly) I would like to developp a command line option that would simply dump two XML files when upgrading with --update=all. In file1, it would write value of the records you customized and that would be set to their default value (but I would like to disable this), in file2, it would write the custom value of the record. Then, instead of seeing all your customization overriden by the upgrade, an admin could simply perform a quick diff between file1 and file2 and quickly determine if which way the record should be upgraded to its new default value or no and then put the required customization in a custom module. Indeed, for instance you might want the upgrade to update a view definition to match the new Python code, but you probably don't want the tax value you just corrected the value to switch back to its default wrong value. System integrators like us do package their customizations in modules, but that's a bit tough to tell end users doing so when they start using the ERP in production. Hope this helps, if you start to developp such a migration tool, please let us know. This is a very much wanted feature. We might possibly develop it over the month for our current customer (on v5), but no warranty. Raphaël Valyi. ------------------------ http://www.smile.fr -------------------- m2f -------------------- -- http://www.openerp.com/forum/viewtopic.php?p=28732#28732 -------------------- m2f --------------------
_______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
