Skip to content

Commit

Permalink
Merge PR #52 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
github-grap-bot committed Mar 19, 2024
2 parents ac22bdd + 8c69f8c commit eeb5bdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _prepare_intercompany_vals(self, config):
if self.type == "out_invoice":
vals["journal_id"] = config.purchase_journal_id.id
elif self.type == "out_refund":
vals["journal_id"] = config.sale_journal_id
vals["journal_id"] = config.sale_journal_id.id
return vals

@api.onchange("partner_id", "company_id", "type", "journal_id")
Expand Down

0 comments on commit eeb5bdf

Please # to comment.