that is declared as a class field, which is not defined within any models. I would like to understand on how to override this field and to add new values in, thanks!
Goods, Assets and Service are part of Tryton business logic for this reason adding or making changes to these names can alter the operation of modules such as Sale, Purchase, Account_Assets among others.
These are modeled in the “class Template” in modules/product: 69fefe381c8a product.py using Fields — trytond latest documentation.
class Template(metaclass=PoolMeta): name = “product.template”
@classmethod
def __setup__(cls):
super().__setup__()
for new_type in [
('new_item', 'New Item')]:
if new_type not in cls.type.selection:
cls.type.selection.append(new_type)