Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3328 Ansichten

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.

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Autor

Thank you!:)

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Sept. 18
4637
1
Juni 23
3546
1
Nov. 22
3850
2
Juni 20
4052
2
Juli 18
7583