コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2633 ビュー

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)

アバター
破棄
関連投稿 返信 ビュー 活動
2
7月 24
2555
1
6月 24
5019
1
10月 23
10702
1
10月 23
98
1
8月 23
2193