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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
            
                2
                
                    Risposte
                
            
        
        
            
                4366
                
                    Visualizzazioni
                
            
        
    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.
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|  | 1 set 16  | 5626 | ||
|  | 0 set 15  | 4468 | ||
|  | 1 mar 15  | 7931 | ||
|  | 0 giu 25  | 849 | ||
|  | 0 mar 18  | 6299 | 
