summaryrefslogtreecommitdiff
path: root/addons/fleet/data/fleet_data.xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2017-11-22 12:22:05 +0100
committerYannick Tivisse <yti@odoo.com>2017-11-22 12:28:05 +0100
commit491faac5e9f47e4d0573a1eba9579aca44b16752 (patch)
tree6b81239c65ba5e37295ed1bf74e496a48bfa0704 /addons/fleet/data/fleet_data.xml
parenteb90eb42ce5ddbdbc1f64218feb70b1921d5a9a3 (diff)
[FIX] stock,mrp: Create ir.model.data with _update, not create
Purpose ======= As the 'function' tag is re-evaluated on the module update (even when noupdate="1"), the ir.model.data will be created a second time with the function 'create'. This leads to the record deletion after the update when calling '_process_end'. Specification ============= Use '_update' instead of 'create' and '_update_dummy'. - _update won't create another ir.model.data if it already exists. - _update already calls _update_dummy to avoid the record deletion.
Diffstat (limited to 'addons/fleet/data/fleet_data.xml')
0 files changed, 0 insertions, 0 deletions