跳至内容
菜单
此问题已终结
1 回复
3264 查看

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
4610
1
6月 23
3506
1
11月 22
3793
2
6月 20
3987
2
7月 18
7528