Odoo Help

Welcome!

This community 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.

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 160 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@aχoncoms
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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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