Hello all, I was looking for dbfilter_from_header module, which I was using in version 11, and found only version 12. Did someone made db filtering option in version 13? Could you please share the way to do it ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
3756
Views
it's just monkey patching db_filter and filter database according to request header environment.
however, HTTP layer doesn't change that much in between those versions so I think V12 module will work fine with V13 as well
ref: https://github.com/OCA/server-tools/blob/12.0/dbfilter_from_header/override.py#L17
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
May 24
|
21463 | ||
|
0
Oct 22
|
2690 | ||
|
9
Dec 24
|
5799 | ||
|
1
Dec 20
|
7244 | ||
|
0
Aug 19
|
100 |