Refund action window domain + locales

This commit is contained in:
resteve 2016-04-02 14:11:56 +02:00
parent 8cc7f37f1d
commit 3664a766a8
3 changed files with 34 additions and 0 deletions

View File

@ -139,6 +139,14 @@ this repository contains the full copyright notices and license terms. -->
pyson="1"/>
<field name="act_window" ref="act_window_account_payment_gateway_transaction"/>
</record>
<record model="ir.action.act_window.domain" id="act_account_payment_gateway_transaction_refunded">
<field name="name">Refunded</field>
<field name="sequence" eval="50"/>
<field name="domain"
eval="[('state', '=', 'refunded')]"
pyson="1"/>
<field name="act_window" ref="act_window_account_payment_gateway_transaction"/>
</record>
<record model="ir.action.act_window.domain" id="act_account_payment_gateway_transaction_all">
<field name="name">All</field>
<field name="sequence" eval="9999"/>

View File

@ -196,6 +196,11 @@ msgctxt ""
msgid "Failed"
msgstr "Fallida"
msgctxt ""
"model:ir.action.act_window.domain,name:act_account_payment_gateway_transaction_refunded"
msgid "Refunded"
msgstr "Devolució"
msgctxt "model:ir.sequence.type,name:sequence_type_payment_gateway"
msgid "Payment Gateway"
msgstr "Pasarel·la pagament"
@ -248,6 +253,10 @@ msgctxt "selection:account.payment.gateway.transaction,state:"
msgid "Pending"
msgstr "Pendent"
msgctxt "selection:account.payment.gateway.transaction,state:"
msgid "Refunded"
msgstr "Devolució"
msgctxt "view:account.payment.gateway.transaction:"
msgid "Are you sure to cancel the transaction?"
msgstr "Esteu segurs de cancel·lar la transacció?"
@ -284,6 +293,10 @@ msgctxt "view:account.payment.gateway.transaction:"
msgid "Pending"
msgstr "Pendent"
msgctxt "view:account.payment.gateway.transaction:"
msgid "Refund"
msgstr "Devolució"
msgctxt "view:account.payment.gateway.transaction:"
msgid "Transaction"
msgstr "Transacció"

View File

@ -196,6 +196,11 @@ msgctxt ""
msgid "Failed"
msgstr "Fallado"
msgctxt ""
"model:ir.action.act_window.domain,name:act_account_payment_gateway_transaction_refunded"
msgid "Refunded"
msgstr "Devolución"
msgctxt "model:ir.sequence.type,name:sequence_type_payment_gateway"
msgid "Payment Gateway"
msgstr "Pasarela de pago"
@ -248,6 +253,10 @@ msgctxt "selection:account.payment.gateway.transaction,state:"
msgid "Pending"
msgstr "Pendiente"
msgctxt "selection:account.payment.gateway.transaction,state:"
msgid "Refunded"
msgstr "Devolución"
msgctxt "view:account.payment.gateway.transaction:"
msgid "Are you sure to cancel the transaction?"
msgstr "¿Estás seguro de cancelar la transacción?"
@ -284,6 +293,10 @@ msgctxt "view:account.payment.gateway.transaction:"
msgid "Pending"
msgstr "Pendiente"
msgctxt "view:account.payment.gateway.transaction:"
msgid "Refund"
msgstr "Devolución"
msgctxt "view:account.payment.gateway.transaction:"
msgid "Transaction"
msgstr "Transacción"