From 6bafe8e9a87ba71253272b6d83c05608f5c8953f Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 17 Aug 2017 14:08:51 +0200 Subject: [PATCH] [FIX] mail, mrp: adapt attachment kanban to new ID format As of saas-16 and the new web client views, the "display value" for a record's ID is now formatted with thousand separators. This breaks a few kanban views where the ID was inserted into a dynamic URL. Using `raw_value` is correct too and fixes the problem. Note: This might affect other kanban views using integer field values, but a quick search did not yield anything. Many2One fields already had different "display values", so `raw_value` is already used when needed. Other integer fields, such as computed counts and sums are often displayed but not inserted into URLs or technical values where the problem would occur. --- addons/mail/views/mail_message_views.xml | 4 ++-- addons/mrp/views/ir_attachment_view.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/mail/views/mail_message_views.xml b/addons/mail/views/mail_message_views.xml index 75ffea35a5e..19ad37d44a5 100644 --- a/addons/mail/views/mail_message_views.xml +++ b/addons/mail/views/mail_message_views.xml @@ -148,11 +148,11 @@
- + diff --git a/addons/mrp/views/ir_attachment_view.xml b/addons/mrp/views/ir_attachment_view.xml index 49fdf2c6037..7d3e5d47daa 100644 --- a/addons/mrp/views/ir_attachment_view.xml +++ b/addons/mrp/views/ir_attachment_view.xml @@ -19,11 +19,11 @@