On 2017-09-27 18:55, Jon Levy wrote: > On Wednesday, September 27, 2017 at 9:39:52 PM UTC-4, Jon Levy wrote: > > On Wednesday, September 27, 2017 at 11:50:07 AM UTC-4, Cédric Krier wrote: > > > On 2017-09-27 08:25, Jon Levy wrote: > > > > Companies are made up of individuals. This is a real-world concept > > > > that Tryton should embrace modeling it (when appropriate to a given > > > > > > And Tryton does with the module party_relationship . . . > > > Using addresses to modeling employees is so wrong because well an > > > address is a location > > > > I take your point that, as the maintainer, you want address to mean > > address (instead of it meaning individual). The UI for > > party_relationship makes it very inconvenient to open up a > > party/company and figure the name of an employee to call. If there > > is UI built for this, please let me know. I will go ahead and try > > to design one and, if that works, will try to migrate away from > > party_communication. > > Trying to solve part of the UI problem: a One2Many field has the > ability to show the form view of the related model, but as far as I > know a Many2One does not. This means that, in order to edit the party > in party_relationship you need to first open the relation and then > open the related party in a pop-up. Am I understanding that right?
Yes. This is an issue that comes up from time to time. I guess we would need to have a widget similar to One2Many but for Many2One. It is also possible to add a Many2Many instead of the One2Many relations but the relation needs to be typed. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20170928063434.GK3626%40kei.
