Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4587 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
3
maj 24
22932
0
okt. 22
4023
9
jan. 25
11567
1
dec. 20
8729
0
aug. 19
100