Skip to Content
Menu
This question has been flagged
1 Reply
1559 Views

I would like to change one label for one of the possible values of contact type field. from 'Delivery address' to i.e. 'Shipping address' while keepeng the 'delivery' value to mantain all the business logic binded to this field. The type field is defined as this, I know how to add a new value, how to delete a value, but not how to change only the label.

type = fields.Selection( 
[('contact', 'Contact'),
('invoice', 'Invoice Address'),
('delivery', 'Delivery Address'),
('other', 'Other Address'),
("private", "Private Address"),
], string='Address Type',
default='contact')

Avatar
Discard
Best Answer

just try to work with translations.

Avatar
Discard