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
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
1
Responder
4692
Visualizações
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
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
3
mai. 24
|
23118 | ||
|
0
out. 22
|
4175 | ||
|
9
jan. 25
|
12147 | ||
|
1
dez. 20
|
8862 | ||
|
0
ago. 19
|
100 |