I can not understand when and how precompute=True can be used in computed fields. What difference does it make?
Thank You!
I can not understand when and how precompute=True can be used in computed fields. What difference does it make?
Thank You!
Hi Karan BK,
Odoo16: Add precompute=True option in your Computed fields to compute value before Record Create, UpTo 15.0 version Computed field value was computed after Record Create.
If you need more information then:
Thank you
Hello Nikhil,
I have gone through the documentation and I know by setting precompute=True, computed fields will be computed before record create. But what I wanted to know is what difference does it make when computation is done before or after record create. When we should set precompute=True on a computed field and what is the purpose of using it.
Hi Karan,
check this commit:
https://github.com/odoo/odoo/commit/d04a5b5c8c7dc13e4e911a29d1944e90587e2883
This commit is helpful. Thanks Nikhil.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
3
abr. 24
|
4717 | |||
|
0
jan. 24
|
3209 | |||
|
2
jun. 23
|
7361 | |||
|
1
mai. 23
|
5913 | |||
|
5
set. 25
|
29620 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.