Odoo Help

2

0
1 回答
1
Volodymyr ウクライナ
2019/01/18 16:15

Hi, 

If you need to get the company of the currently logged in user - then the best way is to get directly self.env.user.company_id

Other two options will do the same, but via several static methods of corresponding classes.



質問する
Keep Informed
2 フォロワー
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