Re: Relationship between modules

Originally Posted by
jmcalderond Hi,
Got an example:
I have a module called vehicles and it is related to the accounts module,
I create vehicles for every existing account and that's ok because I go to
the vehicles subpanel in the accounts module and can create new vehicles
whenever I need to using the new button, and after being created they appear
listed in this subpanel; now, the fact is that when I have to create a new vehicle, but
creating it by duplicating an existing one on any account, I have to click on the vehicle
I want to duplicate; up to this point of the procedure, I can see the account to where
this vehicle is related to, but after I duplicate it and make the required changes and
then save it, I find that the new vehicle created isn't related to the original account to
where the original vehicle was related to, in fact, it isn't related to any account. The
question is, how could I set this way of creating new vehicles to relate the new created
vehicle to the same account of the original one after that process is completed?, I also
wonder if the way it actually works has a reason for working that way.
Hi Juan Miguel,
it's quite a simple answer: duplicating a vehicle does not duplicate its relationships with accounts.
Another question...,
could it be set to relate the new vehicle or not to the original account with a checkbox selection
done by the user?, so that I can do this creation of new vehicles with vehicles from different
accounts and then relate them to the correct account?
Understood what you mean, and maybe it can be accomplished somehow, just I'm not sure how
Last edited by DragonflyMaster; 2008-05-09 at 02:19 PM.
What do you think the cookie monster eats ?
Bookmarks