diff --git a/wms_connector_picking_batch/models/stock_picking_batch.py b/wms_connector_picking_batch/models/stock_picking_batch.py index dc91a5098b..21f74b6d46 100644 --- a/wms_connector_picking_batch/models/stock_picking_batch.py +++ b/wms_connector_picking_batch/models/stock_picking_batch.py @@ -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