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