You could also use the versionable template if you use doctrine (mabe there's the equivalent for propel, like actAsVersionable or something), which automatially keeps a copy of older versions of the model records when you edit them.
I think that could be a better solution. Or maybe you could copy the data directly into the invoice ? Julien On Jan 21, 1:35 pm, Tomasz Ignatiuk <tomek.ignat...@gmail.com> wrote: > Hi, > I have this situations. Two related tables: Company and Company > Address > The idea is to add Company info to Company table and address info > which will be kept in Company Address table. When I change address > info, it will be saved as a new record in Company Address. Because for > example when I look at the Invoice from 1 year ago it will check what > was address etc one year ago (which can be different now) SO the Idea > is to track changeses made in Address table. > > My question is: what is the best way to put Company Address fields > into NEW and EDIT in Company module, all generate by admin generator? > My idea was to add partial fields and to change actions of Company > Address module in order to save data as new record each time if > something was changed in it. > > Do you think there is a better solution? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---