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
                
                    回复
                
            
        
        
            
                4375
                
                    查看
                
            
        
    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  | 5628 | ||
|  | 0 9月 15  | 4469 | ||
|  | 1 3月 15  | 7934 | ||
|  | 0 6月 25  | 854 | ||
|  | 0 3月 18  | 6308 | 
