Skip to Content
Menu
This question has been flagged
1 Atsakyti
4302 Rodiniai

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

Portretas
Atmesti
Best Answer

Hi,

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

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


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 15
4721
1
rugs. 23
3005
2
liep. 17
7267
3
liep. 25
5559
14
kov. 22
49239