Skip to content

Commit

Permalink
Merge PR #743 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by rvalyi
  • Loading branch information
OCA-git-bot committed Dec 19, 2024
2 parents 003cac0 + e59b205 commit 3f00504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stock_intercompany/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _check_company_consistency(self, company):
dict(common_vals, counterpart_of_move_id=sm.id)
)[0],
)
for sm in self.move_ids
for sm in self.move_ids.sudo()
]
move_line_ids = [
(
Expand All @@ -72,7 +72,7 @@ def _check_company_consistency(self, company):
dict(common_vals, move_id=False, counterpart_of_line_id=ln.id)
)[0],
)
for ln in self.move_line_ids
for ln in self.move_line_ids.sudo()
]
return move_ids, move_line_ids

Expand Down

0 comments on commit 3f00504

Please sign in to comment.