Hello, I have a question about subclassing in Tryton 1.8. Maybe i explain first what i would like to do: i have two fields: forename and surname (and titles but i will omit it here) and a function which creates a string "surname, forename". This fields are in a model which inherits from (not extend!) Party (via _inherits mechanism). The problem is that party has a required name field and i would like to auto-generate it with my function from the surname and forename fields. After long research i couldn't find a soulution - it seems that the on_change/on_change_with Field attributes would be the way to go, but i couldn't make them work across related models. Is there a solution for this?
Kind regards, Artur J. -- [email protected] mailing list
