Skip to Content
Menu
This question has been flagged
3996 Rodiniai

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')


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugp. 20
2970
0
lapkr. 21
2396
1
lapkr. 20
5555
1
bal. 20
6090
1
spal. 19
6350