2015-07-05 9:21 GMT+02:00 Cédric Krier <[email protected]>: > On 2015-07-04 22:16, Vincent Bastos wrote: >> >> >> On Monday, January 12, 2015 at 10:10:04 AM UTC+10, Cédric Krier wrote: >> > >> > >> > You can look at the name of party as plurial depending on the usage. >> > So instead of having a field, we could have a list of field with each >> > one a type. >> > Possible types: >> > >> > - Firstname >> > - Lastname >> > - Middle anme >> > - Nickname >> > - Fullname >> > - Signature >> > etc. >> > >> >> I am interested in this, but I have no idea how to actually implement this. >> I found the field type "dict" in the documentation, but no idea how to use >> it. Can you point to an example? > > You could use a Dict field but I get in mind a One2Many. > You can look at product_attribute about how to use Dict field.
About party + dict, you could read code from party attributes module (idea similar than product attributes) https://bitbucket.org/zikzakmedia/trytond-party_attribute Regards Raimon
