Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2643 Widoki

Hi all,


       I have inherited a new field to stock.move.line as a related field with product table.Even after setting "store=True", the field have no values in the DB.When i removed the "store=True" field, data displayed on screen.But still no data for the field in DB.Any suggestions??



class StockMoveLineInherit(models.Model):


    _inherit = "stock.move.line"


    material_type = fields.Char(string="Material Type", related='product_id.quality_parameter_type', store=True)

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lip 24
2577
1
cze 24
5028
1
paź 23
10715
1
paź 23
98
1
sie 23
2193