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
- Účtovníctvo
- Sklady
- PoS
- Project
- MRP
This question has been flagged
2
Replies
3980
Zobrazenia
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!
RegistráciaRelated Posts | Replies | Zobrazenia | Aktivita | |
---|---|---|---|---|
|
1
sep 16
|
5143 | ||
|
0
sep 15
|
3768 | ||
|
1
mar 15
|
7256 | ||
|
0
jún 25
|
358 | ||
|
0
mar 18
|
5603 |