diff --git a/account_payment_order/models/account_move_line.py b/account_payment_order/models/account_move_line.py index 5389b1c9d..0f9fadd3b 100644 --- a/account_payment_order/models/account_move_line.py +++ b/account_payment_order/models/account_move_line.py @@ -81,7 +81,6 @@ class AccountMoveLine(models.Model): def _prepare_payment_line_vals(self, payment_order): self.ensure_one() - assert payment_order, "Missing payment order" communication_type, communication = self._get_communication() if self.currency_id: currency_id = self.currency_id.id diff --git a/account_payment_order/readme/CONTRIBUTORS.rst b/account_payment_order/readme/CONTRIBUTORS.rst index acf4c751b..795a7f0f7 100644 --- a/account_payment_order/readme/CONTRIBUTORS.rst +++ b/account_payment_order/readme/CONTRIBUTORS.rst @@ -11,6 +11,8 @@ * Angel Moya * Jose MarĂ­a Alzaga * Meyomesse Gilles +* Denis Roussel + * `DynApps `_: * Raf Ven