Odoo Help

2

0
1 答案
1
Volodymyr 乌克兰
2019/1/18 下午4: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 关注者(s)
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