تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2609 أدوات العرض

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
يوليو 24
2521
1
يونيو 24
5002
1
أكتوبر 23
10686
1
أكتوبر 23
98
1
أغسطس 23
2193