Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3938 Tampilan

I just added a custom related field in sale order line.

Now the issue is that while adding section or note in order line this custom field is not allowing me to do so. Because when I erase this field everything is working fine for me.

class SaleOrderLineInherit(models.Model):
_inherit = ['sale.order.line']

tran_service_type = fields.Many2one(related='product_id.product_tmpl_id.tran_service_type', string='TS Pairs')


Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Agu 20
2906
0
Nov 21
2379
1
Nov 20
5497
1
Apr 20
6043
1
Okt 19
6336