mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
ADD description on payment mode and show it on invoice report
FIX tabs FIX translate
This commit is contained in:
committed by
Pedro M. Baeza
parent
589187a2e0
commit
0540244e48
@@ -64,6 +64,7 @@ Contributors
|
||||
* Alexandre Fayolle
|
||||
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
|
||||
* Danimar Ribeiro
|
||||
* Angel Moya <angel.moya@domatix.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
'data': [
|
||||
'views/res_partner_view.xml',
|
||||
'views/account_invoice_view.xml',
|
||||
'views/report_invoice.xml',
|
||||
'security/ir.model.access.csv',
|
||||
],
|
||||
'demo': ['demo/partner_demo.xml'],
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-10-31 22:53+0000\n"
|
||||
"PO-Revision-Date: 2014-10-31 22:53+0000\n"
|
||||
"POT-Creation-Date: 2015-07-02 10:53+0000\n"
|
||||
"PO-Revision-Date: 2015-07-02 10:53+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -15,6 +15,11 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: account_payment_partner
|
||||
#: view:website:account.report_invoice_document
|
||||
msgid "Bank Account:"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_payment_partner
|
||||
#: field:res.partner,customer_payment_mode:0
|
||||
msgid "Customer Payment Mode"
|
||||
@@ -35,6 +40,11 @@ msgstr ""
|
||||
msgid "Payment Mode"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_payment_partner
|
||||
#: view:website:account.report_invoice_document
|
||||
msgid "Payment Mode:"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_payment_partner
|
||||
#: help:res.partner,customer_payment_mode:0
|
||||
msgid "Select the default payment mode for this customer."
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-10-31 22:53+0000\n"
|
||||
"PO-Revision-Date: 2014-10-31 22:53+0000\n"
|
||||
"POT-Creation-Date: 2015-07-02 10:55+0000\n"
|
||||
"PO-Revision-Date: 2015-07-02 10:55+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -15,6 +15,11 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: account_payment_partner
|
||||
#: view:website:account.report_invoice_document
|
||||
msgid "Bank Account:"
|
||||
msgstr "Cuenta bancaria:"
|
||||
|
||||
#. module: account_payment_partner
|
||||
#: field:res.partner,customer_payment_mode:0
|
||||
msgid "Customer Payment Mode"
|
||||
@@ -35,6 +40,11 @@ msgstr "Empresa"
|
||||
msgid "Payment Mode"
|
||||
msgstr "Modo de pago"
|
||||
|
||||
#. module: account_payment_partner
|
||||
#: view:website:account.report_invoice_document
|
||||
msgid "Payment Mode:"
|
||||
msgstr "Modo de pago:"
|
||||
|
||||
#. module: account_payment_partner
|
||||
#: help:res.partner,customer_payment_mode:0
|
||||
msgid "Select the default payment mode for this customer."
|
||||
|
||||
17
account_payment_partner/views/report_invoice.xml
Normal file
17
account_payment_partner/views/report_invoice.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<template id="report_invoice_payment_mode" inherit_id="account.report_invoice_document">
|
||||
<xpath expr="//p[@t-if='o.payment_term.note']" position="after">
|
||||
<p t-if="o.payment_mode_id.note">
|
||||
<strong>Payment Mode:</strong>
|
||||
<span t-field="o.payment_mode_id.note" />
|
||||
</p>
|
||||
<p t-if="o.partner_bank_id">
|
||||
<strong>Bank Account:</strong>
|
||||
<span t-field="o.partner_bank_id.acc_number" />
|
||||
</p>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user