Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3320 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you!:)

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 18
4634
1
thg 6 23
3543
1
thg 11 22
3843
Cannot create task Đã xử lý
2
thg 6 20
4049
2
thg 7 18
7577