summaryrefslogtreecommitdiff
path: root/addons/web_tip/web_tip_data.xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2015-09-08 11:59:02 +0200
committerqsm-odoo <qsm@odoo.com>2015-09-08 14:14:31 +0200
commit7c18c68f96a31f593acf0a7e1c7adcfc120cff67 (patch)
tree3dc888bef01d9ed2967e03bb193faff86256c0ad /addons/web_tip/web_tip_data.xml
parent1a405ed7c462af5728b9934095d7fb7412cc6d21 (diff)
[FIX] hr_timesheet_sheet: '0' values when adding a new line
When a new line was added, all the others changed their value to 0. This was because of a property : the sheets propertywas read thanks to a get('sheets') but as it is an array of object, modifying those object will modify the sheets (without calling any handler attached to the 'change:sheets' event). It appeared the form_view set_values method changed those objects. A simple solution from a timesheet point of vue was to deep clone the sheets property before using it.
Diffstat (limited to 'addons/web_tip/web_tip_data.xml')
0 files changed, 0 insertions, 0 deletions