Skip to content

Commit af21e4c

Browse files
committed
minor imp
1 parent 9e9f84e commit af21e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wms_connector/models/synchronize_exportable_mixin.py

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

0 commit comments

Comments
 (0)