Skip to content

Commit

Permalink
clean_context without **
Browse files Browse the repository at this point in the history
  • Loading branch information
Kev-Roche committed Sep 2, 2024
1 parent ed7d0cb commit fea86a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_invoice_inter_company/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def _inter_company_create_invoice(self, dest_company):
force_number = inter_invoice.name
inter_invoice.with_context(force_delete=True).unlink()
# create destination invoice
self = self.with_context(**clean_context(self.env.context))
self = self.with_context(clean_context(self.env.context))
dest_invoice_data = self._prepare_invoice_data(dest_company)
if force_number:
dest_invoice_data["name"] = force_number
Expand Down

0 comments on commit fea86a3

Please sign in to comment.