Hi community, just wanna ask if there is a way to access fields function that is not saved i.e it's store behaviour is False? If there is then how? Thanks.
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
If you want to use the value for filtering in a view, I guess you have to store it. If not, you should be able to use a function field within Python code whithout any problems.
Thanks sir for your comment, i want to use it's value for comparison and for validation. So can i access it just like an ordinary field (i.e class.fields_function)?
A field is a field. The mooment you create it and populate it, you can use it.
OK, thanks again sir.
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-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
0
set. 15
|
6116 | ||
|
|
3
mar. 15
|
7440 | ||
|
|
2
nov. 20
|
6200 | ||
|
|
4
mar. 20
|
7313 | ||
|
|
2
mar. 24
|
3770 |