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!
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)