diff --git a/account_payment_order/i18n/account_payment_order.pot b/account_payment_order/i18n/account_payment_order.pot index 266c326d7..ce1757686 100644 --- a/account_payment_order/i18n/account_payment_order.pot +++ b/account_payment_order/i18n/account_payment_order.pot @@ -17,14 +17,16 @@ msgstr "" #: code:addons/account_payment_order/models/account_move.py:0 #, python-format msgid "" -"%(count)d payment lines added to the existing draft payment order %(name)s." +"%(count)d payment lines added to the existing draft payment order %(name)s." msgstr "" #. module: account_payment_order #: code:addons/account_payment_order/models/account_move.py:0 #, python-format msgid "" -"%(count)d payment lines added to the new draft payment order %(name)s which " +"%(count)d payment lines added to the new draft payment order %(name)s, which " "has been automatically created." msgstr "" diff --git a/account_payment_order/i18n/es.po b/account_payment_order/i18n/es.po index 3e12028f9..a97c603bb 100644 --- a/account_payment_order/i18n/es.po +++ b/account_payment_order/i18n/es.po @@ -23,16 +23,23 @@ msgstr "" #: code:addons/account_payment_order/models/account_move.py:0 #, python-format msgid "" -"%(count)d payment lines added to the existing draft payment order %(name)s." +"%(count)d payment lines added to the existing draft payment order %(name)s." msgstr "" +"%(count)d líneas de pago añadidas a la orden existente %(name)s." #. module: account_payment_order #: code:addons/account_payment_order/models/account_move.py:0 #, python-format msgid "" -"%(count)d payment lines added to the new draft payment order %(name)s which " +"%(count)d payment lines added to the new draft payment order %(name)s, which " "has been automatically created." msgstr "" +"%(count)d líneas de pago añadidas a la nueva orden %(name)s, que " +"ha sido creada automáticamente." #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document diff --git a/account_payment_order/models/account_move.py b/account_payment_order/models/account_move.py index 917cb9d1e..0a04e895d 100644 --- a/account_payment_order/models/account_move.py +++ b/account_payment_order/models/account_move.py @@ -102,8 +102,11 @@ class AccountMove(models.Model): move.message_post( body=_( "%(count)d payment lines added to the new draft payment " - "order %(name)s which has been automatically created.", + "order %(name)s, which has been " + "automatically created.", count=count, + order_id=payorder.id, name=payorder.name, ) ) @@ -111,8 +114,11 @@ class AccountMove(models.Model): move.message_post( body=_( "%(count)d payment lines added to the existing draft " - "payment order %(name)s.", + "payment order " + "%(name)s.", count=count, + order_id=payorder.id, name=payorder.name, ) )