This question has been flagged
2 Replies
2998 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?

Avatar
Discard
Best Answer

Hi Alan,

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

I don't know more :)


Avatar
Discard
Best Answer

Hi,

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

Avatar
Discard