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
回覆
4709
瀏覽次數
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
|
23128 | ||
|
0
10月 22
|
4183 | ||
|
9
1月 25
|
12195 | ||
|
1
12月 20
|
8871 | ||
|
0
8月 19
|
100 |