summaryrefslogtreecommitdiff
path: root/addons/web_api
diff options
context:
space:
mode:
authorDenis Ledoux <dle@openerp.com>2014-01-15 17:51:14 +0100
committerDenis Ledoux <dle@openerp.com>2014-01-15 17:51:14 +0100
commit3a6b6dd6df9f69515de1634229547ef674fcdb77 (patch)
tree10ba8e925d42440cf3bcae0ec53e099101cf1977 /addons/web_api
parent1066a1ca2c0f620ce6def972ed5e0d9436def183 (diff)
[FIX] hr_timesheet_sheet: save correctly if focus is in a timesheet input
on_change_unit_amount was called manually in the timesheet widget. Normally, save waits for all on_change to be applied, but in this case, as the on_change its called manually in the js, it was not the case. The fix is to put all deferreds for which we must wait for in an array, and to wait all deferreds to be done before saving. bzr revid: dle@openerp.com-20140115165114-nqa2ynszgocrnt52
Diffstat (limited to 'addons/web_api')
0 files changed, 0 insertions, 0 deletions