mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[IMP] account_payment_order: add link to payment order in chatter
This commit is contained in:
committed by
Pedro M. Baeza
parent
91421d3019
commit
676a9429f8
@@ -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 <a href=# "
|
||||
"data-oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s</a>."
|
||||
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 <a href=# data-"
|
||||
"oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s</a>, which "
|
||||
"has been automatically created."
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -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 <a href=# "
|
||||
"data-oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s</a>."
|
||||
msgstr ""
|
||||
"%(count)d líneas de pago añadidas a la orden existente <a href=# "
|
||||
"data-oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s</a>."
|
||||
|
||||
#. 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 <a href=# data-"
|
||||
"oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s</a>, which "
|
||||
"has been automatically created."
|
||||
msgstr ""
|
||||
"%(count)d líneas de pago añadidas a la nueva orden <a href=# data-"
|
||||
"oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s</a>, 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
|
||||
|
||||
@@ -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 <a href=# data-oe-model=account.payment.order "
|
||||
"data-oe-id=%(order_id)d>%(name)s</a>, 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 "
|
||||
"<a href=# data-oe-model=account.payment.order "
|
||||
"data-oe-id=%(order_id)d>%(name)s</a>.",
|
||||
count=count,
|
||||
order_id=payorder.id,
|
||||
name=payorder.name,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user