[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:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user