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

Greetingz,

am trying to get the selected product ID in stock.move , if you started to make delivery order, you should add items and each item present a product , so once you click add item , a window will be apeared to select the product .

in this windows , how can i get the selected product id from Product_id field which is many2one .

i tried to print Product_id , i will get " product.product() " as printed string ?!

 

Regrads

Awatar
Odrzuć

@moayad In which method you want product_id? do you need it in on_change method?

Autor

what ever , i need the product id to retrieve some values to the selected product . let's say yes i want it in 'on_change' method