On 14 Jan 13:34, marsupo...@gmail.com wrote: > Is there a base model that I could inherit from or any other means in order > to add fields, methods, ... to all models at once in a module ?
Currently, it is not possible but it will be a great feature (but tricky to implement). Anyway, it is still possible to hack on the register method of a module to retreive the list of Model already registered and then register in the Pool new Model to extend the existing one. The main issue with this method is that you can not be sure to have all the models. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpqERMixdLGa.pgp
Description: PGP signature