I can not understand when and how precompute=True can be used in computed fields. What difference does it make?
Thank You!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
3
kwi 24
|
2200 | ||
|
0
sty 24
|
1609 | ||
|
2
cze 23
|
4302 | ||
|
1
maj 23
|
3185 | ||
|
1
cze 25
|
14947 |