[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 <amoyaux@users.noreply.github.com>
This commit is contained in:
Nans Lefebvre
2019-07-08 11:00:10 +00:00
parent 1520547ca3
commit b65d5efd02
-1
View File
@@ -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') {