Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4659 Представления

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 ? 

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
мая 24
23077
0
окт. 22
4127
9
янв. 25
12008
1
дек. 20
8821
0
авг. 19
100