Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4315 Visualizzazioni

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
Abbandona
Risposta migliore

Hi,

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

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


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
4723
1
set 23
3009
2
lug 17
7269
3
lug 25
5567
14
mar 22
49242