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?
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
            
                2
                
                    回覆
                
            
        
        
            
                4362
                
                    瀏覽次數
                
            
        
    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  | 5626 | ||
|  | 0 9月 15  | 4468 | ||
|  | 1 3月 15  | 7930 | ||
|  | 0 6月 25  | 848 | ||
|  | 0 3月 18  | 6294 | 
