ADD description on payment mode and show it on invoice report

FIX tabs

FIX translate
This commit is contained in:
AngelMoya-Domatix
2015-07-02 12:58:05 +02:00
committed by Thomas Binsfeld
parent c9362833c0
commit 93fb3cae36
5 changed files with 43 additions and 4 deletions

View File

@@ -64,6 +64,7 @@ Contributors
* Alexandre Fayolle
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
* Danimar Ribeiro
* Angel Moya <angel.moya@domatix.com>
Maintainer
----------

View File

@@ -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'],

View File

@@ -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."

View File

@@ -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."

View 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>