Skip to content

Commit f0bec6d

Browse files
committed
minor imp
1 parent b55b35f commit f0bec6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wms_connector/models/synchronize_exportable_mixin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ def _schedule_export(self, warehouse, domain=False):
9797
domain = []
9898
recs = self.search(domain)
9999
if not recs:
100-
return
100+
return self.env["attachment.queue"]
101101
return recs.with_context(warehouse=warehouse).synchronize_export()

0 commit comments

Comments
 (0)