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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
4720
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
3
5月 24
|
23132 | ||
|
0
10月 22
|
4186 | ||
|
9
1月 25
|
12238 | ||
|
1
12月 20
|
8881 | ||
|
0
8月 19
|
100 |