Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3970 Prikazi

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?

Avatar
Opusti
Best Answer

Hi Alan,

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

I don't know more :)


Avatar
Opusti
Best Answer

Hi,

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
sep. 16
5125
0
sep. 15
3762
1
mar. 15
7250
0
jun. 25
358
0
mar. 18
5603