Skip to Content
मेन्यू
This question has been flagged

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

Avatar
Discard
Best Answer

Hi,

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

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


Avatar
Discard
Related Posts Replies Views Activity
0
मार्च 15
4723
1
सित॰ 23
3009
2
जुल॰ 17
7269
3
जुल॰ 25
5569
14
मार्च 22
49242