跳至內容
選單
此問題已被標幟
1 回覆
3326 瀏覽次數

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
4637
1
6月 23
3546
1
11月 22
3849
2
6月 20
4052
2
7月 18
7583