Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1570 Weergaven

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
Annuleer

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

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
mei 23
3396
0
feb. 17
4028
0
dec. 17
13
1
sep. 16
3924
0
aug. 25
6