Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4656 Näkymät

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 ? 

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
toukok. 24
23071
0
lokak. 22
4127
9
tammik. 25
12004
1
jouluk. 20
8814
0
elok. 19
100