Skip to content

Commit

Permalink
Merge PR #725 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 21, 2024
2 parents b1b391d + 5b11540 commit 49acc3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions purchase_sale_inter_company/models/purchase_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def _inter_company_create_sale_order(self, dest_company):
# Validation of sale order
if dest_company.sale_auto_validation:
sale_order.sudo(intercompany_user.id).action_confirm()
return sale_order

@api.multi
def _prepare_sale_order_data(self, name, partner, dest_company,
Expand Down

0 comments on commit 49acc3b

Please sign in to comment.