Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1566 Vizualizări

I'd like to create a new custom field that populates based on a calculation.


On my Time Sheets list view, I want a new field labeled 'Total Cost'


That field will result from the total hours billed on the line multiplied by the hourly cost of the attached employee record.


I'd also then like to see field totaled in group headers.

Imagine profil
Abandonează

Hello i guess with odoo enterprise you can achive that using Odoo Studio, if not u will have use python code

Cel mai bun răspuns

Hi,
You have to write to logic for your computed field to calculate the desired values from the other records.

If you are looking for a sample, see this case:  How To Add Compute Field From User Interface In Odoo

Thanks

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mai 23
3393
0
feb. 17
4024
0
dec. 17
13
1
sept. 16
3920
0
aug. 25
155