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

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
srp 20
3090
0
lis 21
2516
1
lis 20
5803
1
dub 20
6218
1
říj 19
6514