Fix bug where ownership history was not tracked on document association.

This commit is contained in:
Dion Moult
2022-03-14 20:39:39 +11:00
parent e343494ab4
commit 9cc683ea6e
@@ -56,7 +56,7 @@ class Usecase:
"IfcRelAssociatesDocument", "IfcRelAssociatesDocument",
**{ **{
"GlobalId": ifcopenshell.guid.new(), "GlobalId": ifcopenshell.guid.new(),
# TODO: owner history "OwnerHistory": ifcopenshell.api.run("owner.create_owner_history", self.file),
"RelatingDocument": self.settings["document"], "RelatingDocument": self.settings["document"],
} }
) )