コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1557 ビュー

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.

アバター
破棄

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

最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
5月 23
3393
0
2月 17
4022
0
12月 17
13
1
9月 16
3915
0
8月 25
135