跳至內容
選單
此問題已被標幟
2 回覆
3986 瀏覽次數

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
5144
0
9月 15
3772
1
3月 15
7259
0
6月 25
359
0
3月 18
5607