Hi , i want ask you if it is possible to create(add) a calculated field just from developer mode into your model
for example create a field called duration
duration = start_date - expiration_date
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi , i want ask you if it is possible to create(add) a calculated field just from developer mode into your model
for example create a field called duration
duration = start_date - expiration_date
Hi,
You can do it from the front-end after activating the developer mode, You have to Navigate to Settings -> Technical -> Database Structure -> Fields, search your field there and you can set the compute function over there.
Please see the last part of the video and see how it is done: https://www.youtube.com/watch?v=0qPVrLoIiOM
Thanks
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
5
Apr. 20
|
7827 | ||
|
0
Feb. 17
|
4858 | ||
ACTIVATE DEVELOPER MODE
Gelöst
|
|
1
Aug. 24
|
3473 | |
|
3
Okt. 23
|
8650 | ||
|
1
Sept. 23
|
3249 |