Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3607 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ago 20
2660
0
nov 21
2118
1
nov 20
5108
1
apr 20
5752
1
ott 19
6049