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
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
2
Respostes
3975
Vistes
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!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
1
de set. 16
|
5143 | ||
|
0
de set. 15
|
3768 | ||
|
1
de març 15
|
7256 | ||
|
0
de juny 25
|
358 | ||
|
0
de març 18
|
5603 |