Skip to content

Commit

Permalink
FIX naming of _get_export_task
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkhao committed Aug 14, 2024
1 parent a871635 commit 07863b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wms_connector/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class StockPicking(models.Model):
compute="_compute_wms_sync_cancel_supported"
)

def _get_wms_export_task(self):
def _get_export_task(self):
return self.picking_type_id.warehouse_id.sudo().export_task_id

def _compute_wms_sync_cancel_supported(self):
Expand Down
2 changes: 1 addition & 1 deletion wms_connector/models/wms_product_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ def track_export(self, attachment):
super().track_export(attachment)
self.to_export = False

def _get_wms_export_task(self):
def _get_export_task(self):
return self.warehouse_id.sudo().wms_export_task_id

0 comments on commit 07863b3

Please sign in to comment.