Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4288 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
ago. 20
3130
0
nov. 21
2553
1
nov. 20
5875
1
abr. 20
6275
1
out. 19
6566