Skip to content

Commit

Permalink
minor imp
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkhao committed Nov 8, 2023
1 parent 9e9f84e commit af21e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wms_connector/models/synchronize_exportable_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ def _schedule_export(self, warehouse, domain=False):
domain = []
recs = self.search(domain)
if not recs:
return
return self.env["attachment.queue"]
return recs.with_context(warehouse=warehouse).synchronize_export()

0 comments on commit af21e4c

Please sign in to comment.