Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1639 Ansichten

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.

Avatar
Verwerfen

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

Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Mai 23
3493
0
Feb. 17
4090
0
Dez. 17
13
1
Sept. 16
3959
0
Aug. 25
151