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:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
4582
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
3
mai 24
|
22926 | ||
|
0
oct. 22
|
4020 | ||
|
9
janv. 25
|
11535 | ||
|
1
déc. 20
|
8722 | ||
|
0
août 19
|
100 |