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
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
            
                2
                
                    Odpovědi
                
            
        
        
            
                4372
                
                    Zobrazení
                
            
        
    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!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|  | 1 zář 16  | 5626 | ||
|  | 0 zář 15  | 4468 | ||
|  | 1 bře 15  | 7932 | ||
|  | 0 čvn 25  | 853 | ||
|  | 0 bře 18  | 6305 | 
