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
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
2
Răspunsuri
3967
Vizualizări
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!
Înscrie-teRelated Posts | Răspunsuri | Vizualizări | Activitate | |
---|---|---|---|---|
|
1
sept. 16
|
5123 | ||
|
0
sept. 15
|
3761 | ||
|
1
mar. 15
|
7248 | ||
|
0
iun. 25
|
357 | ||
|
0
mar. 18
|
5603 |