Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sie 20
2935
0
lis 21
2383
1
lis 20
5518
1
kwi 20
6069
1
paź 19
6341