Skip to content

Commit

Permalink
Merge PR #2413 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 22, 2024
2 parents 74363f2 + 213563b commit 2bd52a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions purchase_security/models/purchase_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def _compute_team_id(self):
for record in self:
record.team_id = record.user_id.purchase_team_ids[:1] or first_team

@api.onchange("partner_id")
def onchange_partner_id(self):
res = super().onchange_partner_id()
if self.partner_id:
Expand Down

0 comments on commit 2bd52a1

Please sign in to comment.