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
4014
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!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
set 16
|
5163 | ||
|
0
set 15
|
3786 | ||
|
1
mar 15
|
7269 | ||
|
0
giu 25
|
369 | ||
|
0
mar 18
|
5641 |