On 11 Jan 15:32, Vincent Bastos wrote:
> Cedric,
>
> On Wednesday, December 31, 2014 at 12:55:03 AM UTC+10, Cédric Krier wrote:
> >
> > On 30 Dec 15:13, Sergi Almacellas Abellana wrote:
> > > >A possible generic solution will be to use a list of type of name
> > (maybe
> > > >a Dict field) that could be used to autofill the real name with maybe
> > > >some sort of formatting depending on some context like the language,
> > the
> > > >primary country etc.
> > >
> > > For me it's better to create specific fields on custom module (and
> > override
> > > rec_name and full name if needed).
> >
> > I don't think so. Fixed number of field will not make it generic.
> > Also as Nicolas tells me, you could also have different format of the
> > name for different usage mail, email, reporting etc.
> > Being able to create new type will be a better design.
>
> Could you elaborate what you mean by creating a new type?
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.
PS: Please don't top-post on this mailing list, see
http://groups.tryton.org/netiquette
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/