diff --git a/account_banking_payment_export/models/account_payment.py b/account_banking_payment_export/models/account_payment.py index 13a7c1a9d..3a6b2cd91 100644 --- a/account_banking_payment_export/models/account_payment.py +++ b/account_banking_payment_export/models/account_payment.py @@ -163,8 +163,9 @@ class PaymentOrder(models.Model): for paydict in group_paylines.values(): # Block if a bank payment line is <= 0 if paydict['total'] <= 0: - raise exceptions.Warning( - _("The amount for Partner '%s' is negative (%.2f) !") + raise exceptions.Warning(_( + "The amount for Partner '%s' is negative " + "or null (%.2f) !") % (paydict['paylines'][0].partner_id.name, paydict['total'])) vals = self._prepare_bank_payment_line(paydict['paylines']) diff --git a/account_banking_payment_export/wizard/payment_order_create.py b/account_banking_payment_export/wizard/payment_order_create.py index 6de8dd869..9834f97c7 100644 --- a/account_banking_payment_export/wizard/payment_order_create.py +++ b/account_banking_payment_export/wizard/payment_order_create.py @@ -34,8 +34,8 @@ class PaymentOrderCreate(models.TransientModel): invoice = fields.Boolean( string='Linked to an Invoice or Refund') date_type = fields.Selection([ - ('due', 'Due'), - ('move', 'Move'), + ('due', 'Due Date'), + ('move', 'Move Date'), ], string="Type of Date Filter", required=True) duedate = fields.Date(required=False) move_date = fields.Date(