Also, I once filed a blueprint that you may be interested in : https://blueprints.launchpad.net/openobject-server/+spec/refactor-fields And XRG replied : "Please look at commit ef8d90110cfdc8 I had done at 2009-09-12. It is already on trunk, you can specify oldname="sth" at the columns you have renamed." Lionel.
Le mercredi 23 juin 2010 à 12:28 +0200, "Borja López Soilán (Pexego)" a écrit : > Thanks Olivier! > > Looks just like what I was looking for! > But it is certainly not documented at all (I couldn't find a reference > on the developer book or the technical memento). > > I suppose I will have to study the bin/addons/__init__.py file on the > server to understand how it works :) > > > Olivier Dony escribió: > > On 23/06/10 11:26, "Borja López Soilán (Pexego)" wrote: > > > > > > I didn't have time to reply before your post on the ML, but we do > > already have such a mechanism. Copy of my reply on #581137: > > > > Borja, I'm not sure if this is what you are referring to, but we already > > have such a mechanism for that (probably not well documented, though), > > which allows triggering update code when a module is updated. This > > exists in 5.0 already. > > We do plan to use it for the migration step I was referring to. This > > will give you an example of how to use it. > > Another basic example here: > > http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/files/head:/hr_holidays/migrations/ > > > > > -- > Borja López Soilán > [email protected] > > Pexego Sistemas Informáticos S.L. > Avenida de Magoi 66 - 27002 Lugo (España) > Tel./Fax 982801517 > http://www.pexego.es > > > AVISO LEGAL - CLÁUSULA DE PRIVACIDAD > Este mensaje se dirige exclusivamente a su destinatario y puede contener > información privilegiada o confidencial. Si no es usted el destinatario > indicado, queda informado de que la utilización, divulgación y/o copia sin > autorización está prohibida en virtud de la legislación vigente. Si ha > recibido este mensaje por error, le rogamos que nos lo comunique > inmediatamente por esta misma vía y proceda a su destrucción. > _______________________________________________ > Mailing list: https://launchpad.net/~openerp-expert-framework > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openerp-expert-framework > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~openerp-expert-framework Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-expert-framework More help : https://help.launchpad.net/ListHelp

