コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3973 ビュー

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


アバター
破棄
関連投稿 返信 ビュー 活動
2
8月 20
2953
0
11月 21
2387
1
11月 20
5535
1
4月 20
6077
1
10月 19
6349