diff options
| author | Rémy Voet (ryv) <ryv@odoo.com> | 2020-08-20 06:29:15 +0000 |
|---|---|---|
| committer | Rémy Voet (ryv) <ryv@odoo.com> | 2020-08-20 06:57:19 +0000 |
| commit | 4029b84be80a923c4c2cc157bf625b9ba06c0dc2 (patch) | |
| tree | 9af65416135be35960409a3818cbc1053d9f58b1 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 400d14a762ef327cf63f8b62b1c95497594616dc (diff) | |
[FIX] mrp: keep the default of expected duration
Issue: when we created a new operation from the MO form,
the default of the expected_duration wasn't take in account and
override to 0.0.
Fix: in `_get_duration_expected` If there isn't workcenter is set,
instead of return False, return the `duration_expected`
closes odoo/odoo#56127
Related: odoo/enterprise#12517
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
