Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2631 Zobrazení

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)

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvc 24
2554
1
čvn 24
5019
1
říj 23
10702
1
říj 23
98
1
srp 23
2193