Skip to content

Commit 30ee86b

Browse files
committed
[IMP] util.update_record_from_xml: align with ORM behavior
The function now force the creation of the records, matching the ORM default values. Part-of: #36
1 parent 9aeb9a2 commit 30ee86b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/records.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def update_record_from_xml(
721721
cr,
722722
xmlid,
723723
reset_write_metadata=True,
724-
force_create=False,
724+
force_create=True,
725725
from_module=None,
726726
reset_translations=(),
727727
ensure_references=False,

0 commit comments

Comments
 (0)