跳至內容
選單
此問題已被標幟
4180 瀏覽次數

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
3081
0
11月 21
2512
1
11月 20
5794
1
4月 20
6207
1
10月 19
6505