Odoo Help

0

get selected product id

By
MoayadRayyan
on 11/20/14, 4:17 AM 549 views

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

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

Emipro Technologies Pvt. Ltd.
on 11/20/14, 4:30 AM

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

MoayadRayyan
on 11/20/14, 4:32 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 11/20/14, 4:17 AM
Seen: 549 times
Last updated: 3/16/15, 8:10 AM