On 22/03/12 23:24 +0100, Jan Grasnick | grasbauer ug wrote: > Am 22.03.2012 22:45, schrieb Cédric Krier: > >On 22/03/12 22:39 +0100, Jan Grasnick | grasbauer ug wrote: > >>Yes, I know. I only was thinking about the posibilities of a > >>extension like field.on_transition_xxx(pyson) > >Could you develop a little bit more, with an example of what will > >contain on_transition_xxx etc. > > > Cedk, could be that I'm wrong with my thoughts. I was thinking about > a solution to evaluate the consistence of the xxx2xxx-fields if > something changes in the parent-model. Currently you can change the > parent without having angry childs, because the pyson of the childs > don't know about the state of the parent until the records are > reloaded. > > Am I right?
No, as you show in previous email, you can use _parent in Eval statement. This is not a very good design but it works of course if the One2Many is on the view and there is no garantee that this states will be enforced on the server side. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpXWxEm8R53J.pgp
Description: PGP signature
