Odoo Help

0

Faced a problem while porting a module from 8 to 10 version. What is self.pool('') ? And is there a replacement in 10th version?

By
Alan Po
on 11/6/16, 12:32 PM 441 views

Hello everyone,
Faced a problem while porting a module from 8 to 10 version. What is self.pool('') ? And is there a replacement in 10th version?

1

shameem@iWesabe

--shameem@iWesabe--
967
| 5 3 5
الخبر, Saudi Arabia
--shameem@iWesabe--

Activities     :    Youtube

                           Stackoverflow 

Experience

           iWesabe                                  ◉

           Axon Communications        ❍

           Cybrosys Technologies        ❍


shameem@iWesabe
On 11/6/16, 11:49 PM

Hi Alan,

self.env[''] is instead of self.pool.get('') in odoo 10

I don't know more :)


1
Sarga
On 11/6/16, 11:49 PM

Hi,

Try using Self.env['model name'] instead.

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

1 follower(s)

Stats

Asked: 11/6/16, 12:32 PM
Seen: 441 times
Last updated: 11/7/16, 9:00 AM