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

hello,

by default on odoo 8, product description in purchase order line is product name + supplier product code or internal reference (if supplier 's not set).

i have added 2 custom field in the product form and i would like to show them with product name instead of this code. what function should i change? and how?

thanks


thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Check for onchange function of product_id in purchase.order.line

@api.onchange('product_id')
def onchange_product_id(self):


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
4726
1
thg 9 23
3010
2
thg 7 17
7270
3
thg 7 25
5575
14
thg 3 22
49252