From b65d5efd023e698babeea78bef5be1337138a888 Mon Sep 17 00:00:00 2001 From: Nans Lefebvre Date: Mon, 8 Jul 2019 11:00:07 +0000 Subject: [PATCH] [FIX] mrp: show the real duration for all users The duration field ('real duration') only showed the duration spent for the currently logged user; this was confusing to user. We remove the domain on the user to show the same duration to all users. opw 2029830 closes odoo/odoo#34649 Signed-off-by: Arnold Moyaux --- addons/mrp/static/src/js/mrp.js | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/mrp/static/src/js/mrp.js b/addons/mrp/static/src/js/mrp.js index f9045ee2833..8843d9ab3cd 100644 --- a/addons/mrp/static/src/js/mrp.js +++ b/addons/mrp/static/src/js/mrp.js @@ -55,7 +55,6 @@ var TimeCounter = AbstractField.extend({ method: 'search_read', domain: [ ['workorder_id', '=', this.record.data.id], - ['user_id', '=', this.getSession().uid], ], }).then(function (result) { if (self.mode === 'readonly') {