From 9f9d5d7468cfccb9f67ee45957ab97106252e35a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Vainstein?= <42652392+tvainstein@users.noreply.github.com> Date: Mon, 22 Feb 2021 12:28:18 -0300 Subject: [PATCH] [FIX] [account_ux] Duplicate Documents --- account_ux/models/account_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_ux/models/account_move.py b/account_ux/models/account_move.py index 8ec3e7d71..23490245f 100644 --- a/account_ux/models/account_move.py +++ b/account_ux/models/account_move.py @@ -92,7 +92,7 @@ def _onchange_partner_commercial(self): self.invoice_user_id = self.partner_id.user_id.id def copy(self, default=None): - res = super().copy(default=default) + res = super().copy() res._onchange_partner_commercial() return res