Hi,
I need to override a mixin class such as LotMixin.
So to add a new field , may I know how to do it?
I had attached below the code from LotMixin
class LotMixin:
__slots__ = ()
number = fields.Char(
"Number", required=True,
states={
'required': ~Eval('has_sequence') | (Eval('id', -1) >= 0),
})
product = fields.Many2One('product.product', 'Product', required=True)
has_sequence = fields.Function(
fields.Boolean("Has Sequence"), 'on_change_with_has_sequence')