Skip to content

Commit

Permalink
wms_cconnector_picking_batch: fix wms_export_task_id access
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzPoize committed May 14, 2024
1 parent d6dcd70 commit 1b64cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wms_connector_picking_batch/models/stock_picking_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class StockPickingBatch(models.Model):
wms_export_date = fields.Datetime(tracking=True)

def _get_wms_export_task(self):
return self.picking_type_id.warehouse_id.sudo().wms_task_id
return self.picking_type_id.warehouse_id.sudo().wms_export_task_id

def _compute_wms_sync_cancel_supported(self):
self.wms_sync_cancel_supported = False
Expand Down

0 comments on commit 1b64cf4

Please sign in to comment.