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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
2
Réponses
3978
Vues
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.
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
sept. 16
|
5143 | ||
|
0
sept. 15
|
3768 | ||
|
1
mars 15
|
7256 | ||
|
0
juin 25
|
358 | ||
|
0
mars 18
|
5603 |