跳至内容
菜单
此问题已终结
2 回复
3968 查看

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?

形象
丢弃
最佳答案

Hi Alan,

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

I don't know more :)


形象
丢弃
最佳答案

Hi,

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

形象
丢弃
相关帖文 回复 查看 活动
1
9月 16
5123
0
9月 15
3761
1
3月 15
7248
0
6月 25
357
0
3月 18
5603