Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

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

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
4722
1
wrz 23
3005
2
lip 17
7267
3
lip 25
5563
14
mar 22
49240