Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4321 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

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

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


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
4724
1
ก.ย. 23
3009
2
ก.ค. 17
7269
3
ก.ค. 25
5572
How to add new tab to module? แก้ไขแล้ว
14
มี.ค. 22
49245