We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e9f84e commit af21e4cCopy full SHA for af21e4c
wms_connector/models/synchronize_exportable_mixin.py
@@ -94,5 +94,5 @@ def _schedule_export(self, warehouse, domain=False):
94
domain = []
95
recs = self.search(domain)
96
if not recs:
97
- return
+ return self.env["attachment.queue"]
98
return recs.with_context(warehouse=warehouse).synchronize_export()
0 commit comments