Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3477 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 20
2538
0
thg 11 21
2016
1
thg 11 20
4803
1
thg 4 20
5648
1
thg 10 19
5862