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
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
            
                2
                
                    Besvarelser
                
            
        
        
            
                4368
                
                    Visninger
                
            
        
    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!
Tilmeld dig| Related Posts | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|  | 1 sep. 16  | 5626 | ||
|  | 0 sep. 15  | 4468 | ||
|  | 1 mar. 15  | 7931 | ||
|  | 0 jun. 25  | 849 | ||
|  | 0 mar. 18  | 6299 | 
