Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] util/records: do not perform callback if xmlid is gone
Before acceff5 we returned early if the xmlid passed to `if_unchanged` was missing. After that commit was merged we always execute the `callback`. This is problematic when the callback is `update_record_from_xml`. It will create records even if they are in `forcecreate=0`. closes #203 Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>
- Loading branch information