Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1624 Zobrazení

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
Zrušit

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

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 23
3471
0
úno 17
4079
0
pro 17
13
1
zář 16
3947
0
srp 25
163