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

In report "Tasks Analysis" in module "Project" when I select measure "#Days to deadline" it shows negative values for those tasks that have missed deadline.  Can I somehow format that field to show positive values in this report?

Note: in database view this field must not loose sign because users use filter "#Days to deadline" less than 0" to filter out all tasks that have missed deadline.

アバター
破棄
最善の回答

Hi Willmore,

Update task analysis select query to (abs((extract('epoch' from (t.date_deadline-(now() at time zone 'UTC'))))/(3600*24)))::NUMERIC::INTEGER as delay_endings_days

This statement includes your question https://www.odoo.com/forum/help-1/question/round-a-field-value-in-report-display-139265

アバター
破棄
著作者

Thank you!:)

関連投稿 返信 ビュー 活動
1
9月 18
4636
1
6月 23
3544
1
11月 22
3848
2
6月 20
4050
2
7月 18
7580