Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5590 Zobrazení

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

Avatar
Zrušit

@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