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:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
            
                2
                
                    Replies
                
            
        
        
            
                4355
                
                    Views
                
            
        
    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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|  | 1 Sep 16  | 5625 | ||
|  | 0 Sep 15  | 4465 | ||
|  | 1 Mar 15  | 7928 | ||
|  | 0 Jun 25  | 848 | ||
|  | 0 Mar 18  | 6290 | 
