Skip to content

Commit 9e73c6f

Browse files
committed
wip
1 parent 2f85e81 commit 9e73c6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wms_connector/models/synchronize_exportable_mixin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def synchronize_export(self):
5555
if self.file_creation_mode == "per_recordset":
5656
res = self._format_to_exportfile(data)
5757
self.track_export(res)
58+
return res
5859

5960
def track_export(self, attachment):
6061
self.wms_export_date = datetime.datetime.now()
@@ -93,4 +94,4 @@ def _schedule_export(self, warehouse, domain=False):
9394
recs = self.search(domain)
9495
if not recs:
9596
return
96-
recs.with_context(warehouse=warehouse).synchronize_export()
97+
return recs.with_context(warehouse=warehouse).synchronize_export()

0 commit comments

Comments
 (0)