Skip to content

Commit

Permalink
[FIX] - shipment_advice_planner: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sbejaoui authored Mar 30, 2023
1 parent 1b5e1e6 commit a590676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shipment_advice_planner/wizards/shipment_advice_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _onchange_check_warehouse(self):
self.ensure_one()
self._check_warehouse()

@api.depends("picking_to_plan_ids")
@api.constrains("picking_to_plan_ids")
def _check_picking_to_plan(self):
for rec in self:
if rec.picking_to_plan_ids.filtered(
Expand Down

0 comments on commit a590676

Please sign in to comment.