Merge PR #745 into 14.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2020-11-18 17:00:57 +00:00
36 changed files with 4109 additions and 0 deletions

View File

@@ -0,0 +1,128 @@
=======================
Account Payment Partner
=======================
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github
:target: https://github.com/OCA/bank-payment/tree/13.0/account_payment_partner
:alt: OCA/bank-payment
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_partner
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/173/13.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
This module adds severals fields:
* the *Supplier Payment Mode* and *Customer Payment Mode* on Partners,
* the *Payment Mode* on Invoices.
* the *Show bank account* on Payment Mode.
* the *# of digits for customer bank account* on Payment Mode.
* the *Bank account from journals* on Payment Mode.
On a Payment Order, in the wizard *Select Invoices to Pay*, the invoices will
be filtered per Payment Mode.
Allows to print in the invoice to which account number the payment
(via SEPA direct debit) is going to be charged so the customer knows that
information, but there are some customers that don't want that everyone
looking at the invoice sees the full account number (and even GDPR can say a
word about that), so that's the reason behind the several options.
**Table of contents**
.. contents::
:local:
Usage
=====
You are able to add a payment mode directly on a partner.
This payment mode is automatically associated to the invoice related to the
partner. This default value could be changed in a draft invoice.
When you create a payment order, only invoices related to chosen payment mode
are displayed.
Invoices without any payment mode are displayed too.
Changelog
=========
10.0.1.2.0 (2018-05-24)
~~~~~~~~~~~~~~~~~~~~~~~
* [IMP] Add options to show partner bank account in invoice report
(`#458 <https://github.com/OCA/bank-payment/issues/458>`_)
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-payment/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/bank-payment/issues/new?body=module:%20account_payment_partner%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
~~~~~~~
* Akretion
* Tecnativa
Contributors
~~~~~~~~~~~~
* Alexis de Lattre <alexis.delattre@akretion.com>
* Raphaël Valyi
* Stefan Rijnhart (Therp)
* Alexandre Fayolle
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
* Danimar Ribeiro
* Angel Moya <angel.moya@domatix.com>
* `Tecnativa <https://www.tecnativa.com>`_:
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Carlos Dauden <carlos.dauden@tecnativa.com>
* `DynApps <https://www.dynapps.be>`_:
* Raf Ven <raf.ven@dynapps.be>
Maintainers
~~~~~~~~~~~
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
This module is part of the `OCA/bank-payment <https://github.com/OCA/bank-payment/tree/13.0/account_payment_partner>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import models

View File

@@ -0,0 +1,24 @@
# Copyright 2014 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
# Copyright 2014 Tecnativa - Pedro M. Baeza
# Copyright 2018 Tecnativa - Carlos Dauden
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Account Payment Partner",
"version": "14.0.1.0.0",
"category": "Banking addons",
"license": "AGPL-3",
"summary": "Adds payment mode on partners and invoices",
"author": "Akretion, " "Tecnativa, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/bank-payment",
"depends": ["account_payment_mode"],
"data": [
"views/res_partner_view.xml",
"views/account_move_view.xml",
"views/account_move_line.xml",
"views/account_payment_mode.xml",
"views/report_invoice.xml",
],
"demo": ["demo/partner_demo.xml"],
"installable": True,
}

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record
id="default_supplier_payment_mode_id"
model="ir.property"
forcecreate="True"
>
<field name="name">Default Supplier Payment Mode</field>
<field
name="fields_id"
search="[('model','=','res.partner'),('name','=','supplier_payment_mode_id')]"
/>
<field
name="value"
eval="'account.payment.mode,'+str(ref('account_payment_mode.payment_mode_outbound_ct1'))"
/>
<field name="company_id" ref="base.main_company" />
</record>
<record
id="default_customer_payment_mode_id"
model="ir.property"
forcecreate="True"
>
<field name="name">Default Customer Payment Mode</field>
<field
name="fields_id"
search="[('model','=','res.partner'),('name','=','customer_payment_mode_id')]"
/>
<field
name="value"
eval="'account.payment.mode,'+str(ref('account_payment_mode.payment_mode_inbound_ct1'))"
/>
<field name="company_id" ref="base.main_company" />
</record>
</odoo>

View File

@@ -0,0 +1,194 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid "Bank Account"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
msgid "Journal Entries"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""

View File

@@ -0,0 +1,221 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-02 03:43+0000\n"
"PO-Revision-Date: 2019-10-04 15:48+0000\n"
"Last-Translator: Jaume Planas <jaume.planas@minorisa.net>\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.8\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr "nombre caràcters"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr "Nombre de dígits del compte bancari del client"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr "<strong>Compte bancari:</strong>"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Mode de pagament:</strong>"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
"Activeu aquesta opció si aquest mètode de pagament requereix saber el número "
"de compte bancari del client o proveïdor."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid "Bank Account"
msgstr "Compte bancari"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
"Número de compte bancari amb el qual es pagarà la factura. Un compte bancari "
"de companyia si aquesta és una factura de client o abonament de proveïdor, "
"altrament un número de compte bancari de l'empresa."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr "El compte bancari és necessari"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr "Compte bancari dels diaris"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr "Contacte"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr "Mode de pagament del client"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr "Primers n caràcters"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr "Complet"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
#, fuzzy
msgid "Journal Entries"
msgstr "Apunt comptable"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr "Apunt comptable"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr "Últims n caràcters"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr "No"
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr "No s'ha definit cap plantilla de pla comptable !"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr "Mode de pagament"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr "Modes de pagament"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr "Pagaments"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr "Seleccioneu el mode de pagament per defecte per a aquest client."
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr "Seleccioneu el mode de pagament per defecte per a aquest proveïdor."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr "Mostra compte bancari"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr "Mostra compte bancari a l'informe de factura"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr "Mostra en les factures el número de compte bancari parcial o complet"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr "Mode de pagament del proveïdor"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
"La companyia de la factura %s no coincideix amb la del mode de pagament"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, fuzzy, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
"No podeu canviar la companyia. Com a mínim existeix un assentament amb "
"aquest mode de pagament, ja assignat a una altra companyia."
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""
"No podeu canviar la companyia. Com a mínim existeix un assentament amb "
"aquest mode de pagament, ja assignat a una altra companyia."
#~ msgid "Invoice"
#~ msgstr "Factura"
#~ msgid ""
#~ "You cannot change the Company. There exists at least one Invoice with "
#~ "this Payment Mode, already assigned to another Company."
#~ msgstr ""
#~ "No podeu canviar la companyia. Com a mínim existeix una factura amb "
#~ "aquest mode de pagament, ja assignat a una altra companyia."

View File

@@ -0,0 +1,200 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-02 03:43+0000\n"
"PO-Revision-Date: 2018-02-02 03:43+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n"
"Language-Team: Danish (Denmark) (https://www.transifex.com/oca/teams/23907/"
"da_DK/)\n"
"Language: da_DK\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid "Bank Account"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
msgid "Journal Entries"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr "Betalingsform"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""

View File

@@ -0,0 +1,206 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 03:38+0000\n"
"PO-Revision-Date: 2017-11-23 03:38+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr "<strong>Bankkonto:</strong>"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Zahlungsmethode:</strong>"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
"Aktiviere diese Option, wenn mit dieser Zahlungsmethode die Bankkontonummer "
"des Kunden oder Lieferanten bekannt sein muss."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
#, fuzzy
msgid "Bank Account"
msgstr "Bankkonto erforderlich"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr "Bankkonto erforderlich"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr "Zahlungsmethode des Kunden"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
#, fuzzy
msgid "Journal Entries"
msgstr "Logbuch Eintrag"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr "Logbuch Eintrag"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr "Zahlungsmodus"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr "Zahlungsmodi"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr "Zahlungen"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr "Wähle die standard Zahlungsmethode für diesen Kunden."
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr "Wähle die standard Zahlungsmethode für diesen Lieferanten."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr "Zahlungsmethode des Lieferanten"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#~ msgid "Invoice"
#~ msgstr "Rechnung"

View File

@@ -0,0 +1,228 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 03:38+0000\n"
"PO-Revision-Date: 2018-07-13 09:23+0000\n"
"Last-Translator: Enric Tobella <etobella@creublanca.es>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.0.1\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr "Nº de caracteres"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr "Nº de dígitos de cuenta bancaria del cliente"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr "<strong>Cuenta bancaria:</strong>"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Modo de pago:</strong>"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
"Activa esta opción si este método de pago debe requerirte informar el número "
"de cuenta bancaria de tu cliente o proveedor"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
#, fuzzy
msgid "Bank Account"
msgstr "Cuenta bancaria requerida"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr "Cuenta bancaria requerida"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr "Cuenta bancaria de los diarios"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr "Contacto"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr "Modo de pago de cliente"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr "Primeros n caracteres"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr "Completo"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
#, fuzzy
msgid "Journal Entries"
msgstr "Apunte contable"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr "Apunte contable"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr "Últimos n caracteres"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr "No"
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr "No se ha definido un Plan Contable!"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr "Modo de pago"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr "Modos de pago"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr "Pagos"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr ""
"Seleccione el modo de pago por defecto cuando esta empresa actúa como "
"cliente."
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr ""
"Seleccione el modo de pago por defecto cuando esta empresa actúa como "
"proveedor."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr "Mostrar cuenta bancaria"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr "Mostrar cuenta bancaria en informe factura"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr "Mostrar en facturas nº de cuenta bancaria parcial o completo"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr "Modo de pago de proveedor"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr "La compañía de la factura %s no corresponde con la del modo de pago"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, fuzzy, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
"No puede cambiar la Compañía. Existe como mínimo una elemento del Diario con "
"este Modo de Pago que ya está asignado a otra Compañía."
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""
"No puede cambiar la Compañía. Existe como mínimo una elemento del Diario con "
"este Modo de Pago que ya está asignado a otra Compañía."
#~ msgid "Invoice"
#~ msgstr "Factura"
#~ msgid ""
#~ "You cannot change the Company. There exists at least one Invoice with "
#~ "this Payment Mode, already assigned to another Company."
#~ msgstr ""
#~ "No puede cambiar la Compañía. Ya existe como mínimo una Factura para este "
#~ "Modo de Pago asignado a otra Compañía."
#~ msgid "Partner"
#~ msgstr "Empresa"
#~ msgid "Payment Methods"
#~ msgstr "Métodos de pago"

View File

@@ -0,0 +1,206 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-08-07 05:59+0000\n"
"Last-Translator: Ignacio Buioli <ibuioli@gmail.com>\n"
"Language-Team: none\n"
"Language: es_AR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr "# de caracteres"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr "# de dígitos para la cuenta de banco del cliente"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr "<strong>Cuenta Bancaria:</strong>"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Modo de Pago:</strong>"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
"Active esta opción si este método de pago requiere que conozca el número de "
"cuenta bancaria de su cliente o proveedor."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid "Bank Account"
msgstr "Cuenta Bancaria"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
"Número de cuenta bancaria al que se pagará la factura. Una Cuenta Bancaria "
"de Empresa, si se trata de una Factura de Cliente o una Nota de Crédito de "
"Proveedor, de lo contrario, un Número de Cuenta Bancaria del Socio."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr "Cuenta Bancaria Requerida"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr "Cuenta bancaria de los diarios"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr "Contacto"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr "Modo de Pago del Cliente"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr "Primero n caracteres"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr "Completo"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
msgid "Journal Entries"
msgstr "Asientos Contables"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr "Apunte Contable"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr "Último n caracteres"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr "No"
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr "¡No se ha definido una Plantilla de Plan de Cuenta!"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr "Tipo de Filtro de Dominio de Banco Asociado"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr "Modo de Pago"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr "Tipo de Filtro Dominio de Modo de Pago"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr "Modos de Pago"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr "Pagos"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr "Seleccione el modo de pago predeterminado para este cliente."
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr "Seleccione el modo de pago predeterminado para este proveedor."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr "Mostrar cuenta bancaria"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr "Mostrar cuenta bancaria en reporte de factura"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr "Mostrar en las facturas el número de cuenta bancaria parcial o total"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr "Modo de Pago del Proveedor"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr "La compañía de la factura %s no coincide con la del modo de pago"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
"No puede cambiar la Compañía. Existe al menos una entrada de diario con este "
"modo de pago, ya asignado a otra Compañía."
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""
"No puede cambiar la Compañía. Existe al menos un elemento de diario con este "
"modo de pago, ya asignado a otra Compañía."

View File

@@ -0,0 +1,220 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Quentin THEURET <odoo@kerpeo.com>, 2018
# Nicolas JEUDY <njeudy@panda-chi.io>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-23 11:14+0000\n"
"PO-Revision-Date: 2018-05-23 11:14+0000\n"
"Last-Translator: Nicolas JEUDY <njeudy@panda-chi.io>, 2018\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr "<strong>Compte bancaire:</strong>"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Mode de paiement :</strong>"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
"Activez cette option si ce mode de paiement exige que vous connaissiez le "
"numéro de compte bancaire de votre client ou fournisseur."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
#, fuzzy
msgid "Bank Account"
msgstr "Compte bancaire requis"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr "Compte bancaire requis"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr "Contacte"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr "Mode de paiement client"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
#, fuzzy
msgid "Journal Entries"
msgstr "Élément de journal"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr "Élément de journal"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr "Aucun modèle de plan comptable n'a été défini !"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr "Mode de paiement"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr "Mode de paiement"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr "Règlements"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr "Sélectionnez le mode de paiement par défaut pour ce client."
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr "Sélectionnez le mode de paiement par défaut pour ce fournisseur."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr "Mode de règlement fournisseur"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
"La société de la facture %s ne correspond pas à celle du mode de paiement"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, fuzzy, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
"Vous ne pouvez pas modifier la Société. Il existe au moins un poste "
"journalier avec ce mode de paiement, déjà affecté à une autre société."
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""
"Vous ne pouvez pas modifier la Société. Il existe au moins un poste "
"journalier avec ce mode de paiement, déjà affecté à une autre société."
#~ msgid "Invoice"
#~ msgstr "Facture"
#~ msgid ""
#~ "You cannot change the Company. There exists at least one Invoice with "
#~ "this Payment Mode, already assigned to another Company."
#~ msgstr ""
#~ "Vous ne pouvez pas modifier la Société. Il existe au moins une facture "
#~ "avec ce mode de paiement, déjà affectée à une autre société."

View File

@@ -0,0 +1,201 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 03:38+0000\n"
"PO-Revision-Date: 2017-11-23 03:38+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
#, fuzzy
msgid "Bank Account"
msgstr "Bankovni račun je obavezan"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr "Bankovni račun je obavezan"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
msgid "Journal Entries"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr "Modeli plaćanja"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""

View File

@@ -0,0 +1,203 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# Imre Kristoffer Eilertsen <imreeil42@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-30 07:37+0000\n"
"PO-Revision-Date: 2016-07-30 07:37+0000\n"
"Last-Translator: Imre Kristoffer Eilertsen <imreeil42@gmail.com>, 2016\n"
"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/"
"teams/23907/nb_NO/)\n"
"Language: nb_NO\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
#, fuzzy
msgid "Bank Account"
msgstr "Bankkonto påkrevd"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr "Bankkonto påkrevd"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
#, fuzzy
msgid "Journal Entries"
msgstr "Journalgjenstand"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr "Journalgjenstand"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
#, fuzzy
msgid "Payment Modes"
msgstr "Betalinger"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr "Betalinger"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""

View File

@@ -0,0 +1,206 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 03:38+0000\n"
"PO-Revision-Date: 2017-11-23 03:38+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr "<strong>Bankrekening:</strong>"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Betaalmode:</strong>"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
"Activeer deze optie als de betaalwijze verwacht dat u het bankrekeningnummer "
"van uw klant of leverancier kent."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
#, fuzzy
msgid "Bank Account"
msgstr "Bankrekening verplicht"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr "Bankrekening verplicht"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr "Betaalwijze klant"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
#, fuzzy
msgid "Journal Entries"
msgstr "Boekingsregel"
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr "Boekingsregel"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr "Betaalwijze"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr "Betaalwijze"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr "Betalingen"
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr "Selecteer de standaard betaalwijze voor deze klant."
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr "Selecteer de standaard betaalwijze voor deze leverancier."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr "Betaalwijze leverancier"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#~ msgid "Invoice"
#~ msgstr "Factuur"

View File

@@ -0,0 +1,203 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 03:38+0000\n"
"PO-Revision-Date: 2017-11-23 03:38+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/"
"teams/23907/pt_BR/)\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid "Bank Account"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr "Modo de Pagamento do Cliente"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
msgid "Journal Entries"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr "Modo de Pagamento"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr "Selecione o modo de pagamento padrão para este cliente."
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr "Selecione o modo de pagamento padrão para este fornecedor."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr "Modo de Pagamento do Fornecedor"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#~ msgid "Invoice"
#~ msgstr "Fatura"

View File

@@ -0,0 +1,203 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 03:38+0000\n"
"PO-Revision-Date: 2017-11-23 03:38+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
"%100==4 ? 2 : 3);\n"
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "# of chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Bank Account:</strong>"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__bank_account_required
msgid ""
"Activate this option if this payment method requires you to know the bank "
"account number of your customer or supplier."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid "Bank Account"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_move__invoice_partner_bank_id
msgid ""
"Bank Account Number to which the invoice will be paid. A Company bank "
"account if this is a Customer Invoice or Vendor Credit Note, otherwise a "
"Partner bank account number."
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__bank_account_required
msgid "Bank Account Required"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_from_journal
msgid "Bank account from journals"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_res_partner
msgid "Contact"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Customer Payment Mode"
msgstr "Metoda plačila kupca"
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__first
msgid "First n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__full
msgid "Full"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move
msgid "Journal Entries"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__last
msgid "Last n chars"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields.selection,name:account_payment_partner.selection__account_payment_mode__show_bank_account__no
msgid "No"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/tests/test_account_payment_partner.py:0
#, python-format
msgid "No Chart of Account Template has been defined !"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__partner_bank_filter_type_domain
msgid "Partner Bank Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move_line__payment_mode_id
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_account_invoice_filter
msgid "Payment Mode"
msgstr "Metoda plačila"
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_move__payment_mode_filter_type_domain
msgid "Payment Mode Filter Type Domain"
msgstr ""
#. module: account_payment_partner
#: model:ir.model,name:account_payment_partner.model_account_payment_mode
msgid "Payment Modes"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.view_move_line_form
msgid "Payments"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__customer_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__customer_payment_mode_id
msgid "Select the default payment mode for this customer."
msgstr "Izbira privzete metode plačila za tega kupca."
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,help:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Select the default payment mode for this supplier."
msgstr "Izbira privzete metode plačila za tega dobavitelja."
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show bank account"
msgstr ""
#. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account
msgid "Show in invoices partial or full bank account number"
msgstr ""
#. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_res_partner__supplier_payment_mode_id
#: model:ir.model.fields,field_description:account_payment_partner.field_res_users__supplier_payment_mode_id
msgid "Supplier Payment Mode"
msgstr "Metoda plačila dobavitelja"
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_move.py:0
#, python-format
msgid ""
"The company of the invoice %s does not match with that of the payment mode"
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Entry with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#. module: account_payment_partner
#: code:addons/account_payment_partner/models/account_payment_mode.py:0
#, python-format
msgid ""
"You cannot change the Company. There exists at least one Journal Item with "
"this Payment Mode, already assigned to another Company."
msgstr ""
#~ msgid "Invoice"
#~ msgstr "Račun"

View File

@@ -0,0 +1 @@
from . import account_move, account_move_line, account_payment_mode, res_partner

View File

@@ -0,0 +1,135 @@
# Copyright 2014-16 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
# Copyright 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import _, api, fields, models
from odoo.exceptions import ValidationError
class AccountMove(models.Model):
_inherit = "account.move"
payment_mode_filter_type_domain = fields.Char(
compute="_compute_payment_mode_filter_type_domain"
)
partner_bank_filter_type_domain = fields.Many2one(
comodel_name="res.partner", compute="_compute_partner_bank_filter_type_domain"
)
payment_mode_id = fields.Many2one(
comodel_name="account.payment.mode",
compute="_compute_payment_mode",
store=True,
ondelete="restrict",
readonly=False,
)
bank_account_required = fields.Boolean(
related="payment_mode_id.payment_method_id.bank_account_required", readonly=True
)
partner_bank_id = fields.Many2one(
compute="_compute_partner_bank",
store=True,
ondelete="restrict",
readonly=False,
)
@api.depends("move_type")
def _compute_payment_mode_filter_type_domain(self):
for move in self:
if move.move_type in ("out_invoice", "in_refund"):
move.payment_mode_filter_type_domain = "inbound"
elif move.move_type in ("in_invoice", "out_refund"):
move.payment_mode_filter_type_domain = "outbound"
else:
move.payment_mode_filter_type_domain = False
@api.depends("partner_id", "move_type")
def _compute_partner_bank_filter_type_domain(self):
for move in self:
if move.move_type in ("out_invoice", "in_refund"):
move.partner_bank_filter_type_domain = move.bank_partner_id
elif move.move_type in ("in_invoice", "out_refund"):
move.partner_bank_filter_type_domain = move.commercial_partner_id
else:
move.partner_bank_filter_type_domain = False
@api.depends("partner_id", "company_id")
def _compute_payment_mode(self):
for move in self:
move.payment_mode_id = False
if move.partner_id:
if move.move_type == "in_invoice":
move.payment_mode_id = move.with_company(
move.company_id.id
).partner_id.supplier_payment_mode_id
elif move.move_type == "out_invoice":
move.payment_mode_id = move.with_company(
move.company_id.id
).partner_id.customer_payment_mode_id
@api.depends("partner_id", "payment_mode_id")
def _compute_partner_bank(self):
for move in self:
# No bank account assignation is done for out_invoice as this is only
# needed for printing purposes and it can conflict with
# SEPA direct debit payments. Current report prints it.
def get_bank_id():
return move.commercial_partner_id.bank_ids.filtered(
lambda b: b.company_id == move.company_id or not b.company_id
)[:1]
bank_id = False
if move.partner_id:
pay_mode = move.payment_mode_id
if move.move_type == "in_invoice":
if (
pay_mode
and pay_mode.payment_type == "outbound"
and pay_mode.payment_method_id.bank_account_required
and move.commercial_partner_id.bank_ids
):
bank_id = get_bank_id()
move.partner_bank_id = bank_id
# I think copying payment mode from invoice to refund by default
# is a good idea because the most common way of "paying" a refund is to
# deduct it on the payment of the next invoice (and OCA/bank-payment
# allows to have negative payment lines since March 2016)
def _reverse_move_vals(self, default_values, cancel=True):
move_vals = super()._reverse_move_vals(default_values, cancel=cancel)
move_vals["payment_mode_id"] = self.payment_mode_id.id
if self.move_type == "in_invoice":
move_vals["partner_bank_id"] = self.partner_bank_id.id
return move_vals
@api.constrains("company_id", "payment_mode_id")
def _check_payment_mode_company_constrains(self):
for rec in self.sudo():
if rec.payment_mode_id and rec.company_id != rec.payment_mode_id.company_id:
raise ValidationError(
_(
"The company of the invoice %s does not match "
"with that of the payment mode"
)
% rec.name
)
def partner_banks_to_show(self):
self.ensure_one()
if self.partner_bank_id:
return self.partner_bank_id
if self.payment_mode_id.show_bank_account_from_journal:
if self.payment_mode_id.bank_account_link == "fixed":
return self.payment_mode_id.fixed_journal_id.bank_account_id
else:
return self.payment_mode_id.variable_journal_ids.mapped(
"bank_account_id"
)
if (
self.payment_mode_id.payment_method_id.code == "sepa_direct_debit"
): # pragma: no cover
return (
self.mandate_id.partner_bank_id
or self.partner_id.valid_mandate_id.partner_bank_id
)
# Return this as empty recordset
return self.partner_bank_id

View File

@@ -0,0 +1,27 @@
# Copyright 2016 Akretion (http://www.akretion.com/)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class AccountMoveLine(models.Model):
_inherit = "account.move.line"
payment_mode_id = fields.Many2one(
comodel_name="account.payment.mode",
compute="_compute_payment_mode",
store=True,
ondelete="restrict",
index=True,
)
@api.depends("move_id.payment_mode_id")
def _compute_payment_mode(self):
for line in self:
if line.move_id.is_invoice() and line.account_internal_type in (
"receivable",
"payable",
):
line.payment_mode_id = line.move_id.payment_mode_id
else:
line.payment_mode_id = False

View File

@@ -0,0 +1,70 @@
# Copyright 2017 ForgeFlow S.L.
# Copyright 2018 Carlos Dauden - Tecnativa <carlos.dauden@tecnativa.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import _, api, fields, models
from odoo.exceptions import ValidationError
class AccountPaymentMode(models.Model):
_inherit = "account.payment.mode"
show_bank_account = fields.Selection(
selection=[
("full", "Full"),
("first", "First n chars"),
("last", "Last n chars"),
("no", "No"),
],
string="Show bank account",
default="full",
help="Show in invoices partial or full bank account number",
)
show_bank_account_from_journal = fields.Boolean(string="Bank account from journals")
show_bank_account_chars = fields.Integer(
string="# of digits for customer bank account"
)
@api.constrains("company_id")
def account_invoice_company_constrains(self):
for mode in self:
if (
self.env["account.move"]
.sudo()
.search(
[
("payment_mode_id", "=", mode.id),
("company_id", "!=", mode.company_id.id),
],
limit=1,
)
):
raise ValidationError(
_(
"You cannot change the Company. There exists "
"at least one Journal Entry with this Payment Mode, "
"already assigned to another Company."
)
)
@api.constrains("company_id")
def account_move_line_company_constrains(self):
for mode in self:
if (
self.env["account.move.line"]
.sudo()
.search(
[
("payment_mode_id", "=", mode.id),
("company_id", "!=", mode.company_id.id),
],
limit=1,
)
):
raise ValidationError(
_(
"You cannot change the Company. There exists "
"at least one Journal Item with this Payment Mode, "
"already assigned to another Company."
)
)

View File

@@ -0,0 +1,28 @@
# Copyright 2014 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
# Copyright 2014 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class ResPartner(models.Model):
_inherit = "res.partner"
supplier_payment_mode_id = fields.Many2one(
"account.payment.mode",
company_dependent=True,
domain="[('payment_type', '=', 'outbound')]",
help="Select the default payment mode for this supplier.",
)
customer_payment_mode_id = fields.Many2one(
"account.payment.mode",
company_dependent=True,
domain="[('payment_type', '=', 'inbound')]",
help="Select the default payment mode for this customer.",
)
@api.model
def _commercial_fields(self):
res = super()._commercial_fields()
res += ["supplier_payment_mode_id", "customer_payment_mode_id"]
return res

View File

@@ -0,0 +1,15 @@
* Alexis de Lattre <alexis.delattre@akretion.com>
* Raphaël Valyi
* Stefan Rijnhart (Therp)
* Alexandre Fayolle
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
* Danimar Ribeiro
* Angel Moya <angel.moya@domatix.com>
* `Tecnativa <https://www.tecnativa.com>`_:
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Carlos Dauden <carlos.dauden@tecnativa.com>
* `DynApps <https://www.dynapps.be>`_:
* Raf Ven <raf.ven@dynapps.be>
* Marçal Isern <marsal.isern@qubiq.es>

View File

@@ -0,0 +1,20 @@
This module adds severals fields:
* the *Supplier Payment Mode* and *Customer Payment Mode* on Partners,
* the *Payment Mode* on Invoices.
* the *Show bank account* on Payment Mode.
* the *# of digits for customer bank account* on Payment Mode.
* the *Bank account from journals* on Payment Mode.
On a Payment Order, in the wizard *Select Invoices to Pay*, the invoices will
be filtered per Payment Mode.
Allows to print in the invoice to which account number the payment
(via SEPA direct debit) is going to be charged so the customer knows that
information, but there are some customers that don't want that everyone
looking at the invoice sees the full account number (and even GDPR can say a
word about that), so that's the reason behind the several options.

View File

@@ -0,0 +1,5 @@
10.0.1.2.0 (2018-05-24)
~~~~~~~~~~~~~~~~~~~~~~~
* [IMP] Add options to show partner bank account in invoice report
(`#458 <https://github.com/OCA/bank-payment/issues/458>`_)

View File

@@ -0,0 +1,9 @@
You are able to add a payment mode directly on a partner.
This payment mode is automatically associated to the invoice related to the
partner. This default value could be changed in a draft invoice.
When you create a payment order, only invoices related to chosen payment mode
are displayed.
Invoices without any payment mode are displayed too.

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -0,0 +1,473 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
<title>Account Payment Partner</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="account-payment-partner">
<h1 class="title">Account Payment Partner</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/bank-payment/tree/13.0/account_payment_partner"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_partner"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/173/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module adds severals fields:</p>
<ul class="simple">
<li>the <em>Supplier Payment Mode</em> and <em>Customer Payment Mode</em> on Partners,</li>
<li>the <em>Payment Mode</em> on Invoices.</li>
<li>the <em>Show bank account</em> on Payment Mode.</li>
<li>the <em># of digits for customer bank account</em> on Payment Mode.</li>
<li>the <em>Bank account from journals</em> on Payment Mode.</li>
</ul>
<p>On a Payment Order, in the wizard <em>Select Invoices to Pay</em>, the invoices will
be filtered per Payment Mode.</p>
<p>Allows to print in the invoice to which account number the payment
(via SEPA direct debit) is going to be charged so the customer knows that
information, but there are some customers that dont want that everyone
looking at the invoice sees the full account number (and even GDPR can say a
word about that), so thats the reason behind the several options.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="id3">Usage</a></li>
<li><a class="reference internal" href="#changelog" id="id4">Changelog</a><ul>
<li><a class="reference internal" href="#id1" id="id5">10.0.1.2.0 (2018-05-24)</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="id6">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id7">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id8">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id9">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id10">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#id3">Usage</a></h1>
<p>You are able to add a payment mode directly on a partner.</p>
<p>This payment mode is automatically associated to the invoice related to the
partner. This default value could be changed in a draft invoice.</p>
<p>When you create a payment order, only invoices related to chosen payment mode
are displayed.</p>
<p>Invoices without any payment mode are displayed too.</p>
</div>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#id4">Changelog</a></h1>
<div class="section" id="id1">
<h2><a class="toc-backref" href="#id5">10.0.1.2.0 (2018-05-24)</a></h2>
<ul class="simple">
<li>[IMP] Add options to show partner bank account in invoice report
(<a class="reference external" href="https://github.com/OCA/bank-payment/issues/458">#458</a>)</li>
</ul>
</div>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id6">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-payment/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/bank-payment/issues/new?body=module:%20account_payment_partner%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id7">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id8">Authors</a></h2>
<ul class="simple">
<li>Akretion</li>
<li>Tecnativa</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id9">Contributors</a></h2>
<ul class="simple">
<li>Alexis de Lattre &lt;<a class="reference external" href="mailto:alexis.delattre&#64;akretion.com">alexis.delattre&#64;akretion.com</a>&gt;</li>
<li>Raphaël Valyi</li>
<li>Stefan Rijnhart (Therp)</li>
<li>Alexandre Fayolle</li>
<li>Stéphane Bidoul &lt;<a class="reference external" href="mailto:stephane.bidoul&#64;acsone.eu">stephane.bidoul&#64;acsone.eu</a>&gt;</li>
<li>Danimar Ribeiro</li>
<li>Angel Moya &lt;<a class="reference external" href="mailto:angel.moya&#64;domatix.com">angel.moya&#64;domatix.com</a>&gt;</li>
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
<li>Pedro M. Baeza &lt;<a class="reference external" href="mailto:pedro.baeza&#64;tecnativa.com">pedro.baeza&#64;tecnativa.com</a>&gt;</li>
<li>Carlos Dauden &lt;<a class="reference external" href="mailto:carlos.dauden&#64;tecnativa.com">carlos.dauden&#64;tecnativa.com</a>&gt;</li>
</ul>
</li>
<li><a class="reference external" href="https://www.dynapps.be">DynApps</a>:<ul>
<li>Raf Ven &lt;<a class="reference external" href="mailto:raf.ven&#64;dynapps.be">raf.ven&#64;dynapps.be</a>&gt;</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id10">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-payment/tree/13.0/account_payment_partner">OCA/bank-payment</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1 @@
from . import test_account_payment_partner

View File

@@ -0,0 +1,464 @@
# Copyright 2017 ForgeFlow S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import _, fields
from odoo.exceptions import ValidationError
from odoo.tests import common
class TestAccountPaymentPartner(common.SavepointCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.res_users_model = cls.env["res.users"]
cls.move_model = cls.env["account.move"]
cls.journal_model = cls.env["account.journal"]
cls.payment_mode_model = cls.env["account.payment.mode"]
cls.partner_bank_model = cls.env["res.partner.bank"]
# Refs
cls.company = cls.env.ref("base.main_company")
cls.acct_type_payable = cls.env.ref("account.data_account_type_payable")
cls.acct_type_expenses = cls.env.ref("account.data_account_type_expenses")
cls.company_2 = cls.env["res.company"].create({"name": "Company 2"})
charts = cls.env["account.chart.template"].search([])
if charts:
cls.chart = charts[0]
else:
raise ValidationError(_("No Chart of Account Template has been defined !"))
old_company = cls.env.user.company_id
cls.env.user.company_id = cls.company_2.id
cls.chart.try_loading()
cls.env.user.company_id = old_company.id
# refs
cls.manual_out = cls.env.ref("account.account_payment_method_manual_out")
cls.manual_out.bank_account_required = True
cls.manual_in = cls.env.ref("account.account_payment_method_manual_in")
cls.journal_sale = cls.env["account.journal"].create(
{
"name": "Test Sales Journal",
"code": "tSAL",
"type": "sale",
"company_id": cls.company.id,
}
)
cls.journal_purchase = cls.env["account.journal"].create(
{
"name": "Test Purchases Journal",
"code": "tPUR",
"type": "purchase",
"company_id": cls.company.id,
}
)
cls.journal_c1 = cls.journal_model.create(
{
"name": "J1",
"code": "J1",
"type": "bank",
"company_id": cls.company.id,
"bank_acc_number": "123456",
}
)
cls.journal_c2 = cls.journal_model.create(
{
"name": "J2",
"code": "J2",
"type": "bank",
"company_id": cls.company_2.id,
"bank_acc_number": "552344",
}
)
cls.supplier_payment_mode = cls.payment_mode_model.create(
{
"name": "Suppliers Bank 1",
"bank_account_link": "variable",
"payment_method_id": cls.manual_out.id,
"show_bank_account_from_journal": True,
"company_id": cls.company.id,
"fixed_journal_id": cls.journal_c1.id,
"variable_journal_ids": [(6, 0, [cls.journal_c1.id])],
}
)
cls.supplier_payment_mode_c2 = cls.payment_mode_model.create(
{
"name": "Suppliers Bank 2",
"bank_account_link": "variable",
"payment_method_id": cls.manual_out.id,
"company_id": cls.company_2.id,
"fixed_journal_id": cls.journal_c2.id,
"variable_journal_ids": [(6, 0, [cls.journal_c2.id])],
}
)
cls.customer_payment_mode = cls.payment_mode_model.create(
{
"name": "Customers to Bank 1",
"bank_account_link": "fixed",
"payment_method_id": cls.manual_in.id,
"company_id": cls.company.id,
"fixed_journal_id": cls.journal_c1.id,
"variable_journal_ids": [(6, 0, [cls.journal_c1.id])],
}
)
cls.customer = (
cls.env["res.partner"]
.with_company(cls.company.id)
.create(
{
"name": "Test customer",
"customer_payment_mode_id": cls.customer_payment_mode,
}
)
)
cls.supplier = (
cls.env["res.partner"]
.with_company(cls.company.id)
.create(
{
"name": "Test supplier",
"supplier_payment_mode_id": cls.supplier_payment_mode,
}
)
)
cls.supplier_bank = cls.env["res.partner.bank"].create(
{
"acc_number": "5345345",
"partner_id": cls.supplier.id,
"company_id": cls.company.id,
}
)
cls.supplier_bank_2 = cls.env["res.partner.bank"].create(
{
"acc_number": "3452342",
"partner_id": cls.supplier.id,
"company_id": cls.company_2.id,
}
)
cls.supplier.with_company(
cls.company_2.id
).supplier_payment_mode_id = cls.supplier_payment_mode_c2
cls.invoice_account = cls.env["account.account"].search(
[
("user_type_id", "=", cls.acct_type_payable.id),
("company_id", "=", cls.company.id),
],
limit=1,
)
cls.invoice_line_account = cls.env["account.account"].search(
[
("user_type_id", "=", cls.acct_type_expenses.id),
("company_id", "=", cls.company.id),
],
limit=1,
)
cls.journal_bank = cls.env["res.partner.bank"].create(
{
"acc_number": "GB95LOYD87430237296288",
"partner_id": cls.env.user.company_id.id,
}
)
cls.journal = cls.env["account.journal"].create(
{
"name": "BANK TEST",
"code": "TEST",
"type": "bank",
"bank_account_id": cls.journal_bank.id,
}
)
cls.supplier_invoice = cls.move_model.create(
{
"partner_id": cls.supplier.id,
"move_type": "in_invoice",
"journal_id": cls.journal_c1.id,
}
)
def _create_invoice(self):
invoice = self.move_model.create(
{
"partner_id": self.supplier.id,
"journal_id": self.journal_purchase.id,
"move_type": "in_invoice",
"company_id": self.company.id,
"payment_mode_id": self.env.ref(
"account_payment_mode.payment_mode_outbound_ct1"
).id,
"invoice_line_ids": [
(
0,
None,
{
"product_id": self.env.ref("product.product_product_4").id,
"quantity": 1.0,
"price_unit": 100.0,
"name": "product that cost 100",
"account_id": self.invoice_line_account.id,
},
)
],
}
)
return invoice
def test_create_partner(self):
customer = (
self.env["res.partner"]
.with_company(self.company.id)
.create(
{
"name": "Test customer",
"customer_payment_mode_id": self.customer_payment_mode,
}
)
)
self.assertEqual(
customer.with_company(self.company.id).customer_payment_mode_id,
self.customer_payment_mode,
)
self.assertEqual(
customer.with_company(self.company_2.id).customer_payment_mode_id,
self.payment_mode_model,
)
def test_out_invoice_onchange(self):
# Test the onchange methods in invoice
invoice = self.move_model.new(
{
"partner_id": self.customer.id,
"move_type": "out_invoice",
"company_id": self.company.id,
}
)
self.assertEqual(invoice.payment_mode_id, self.customer_payment_mode)
invoice.company_id = self.company_2
self.assertEqual(invoice.payment_mode_id, self.payment_mode_model)
invoice.payment_mode_id = False
self.assertFalse(invoice.partner_bank_id)
def test_in_invoice_onchange(self):
# Test the onchange methods in invoice
self.manual_out.bank_account_required = True
invoice = self.move_model.new(
{
"partner_id": self.supplier.id,
"move_type": "in_invoice",
"company_id": self.company.id,
}
)
self.assertEqual(invoice.payment_mode_id, self.supplier_payment_mode)
self.assertEqual(invoice.partner_bank_id, self.supplier_bank)
invoice.company_id = self.company_2
self.assertEqual(invoice.payment_mode_id, self.supplier_payment_mode_c2)
self.assertEqual(invoice.partner_bank_id, self.supplier_bank_2)
invoice.payment_mode_id = self.supplier_payment_mode
self.assertTrue(invoice.partner_bank_id)
self.manual_out.bank_account_required = False
invoice.payment_mode_id = self.supplier_payment_mode_c2
self.assertFalse(invoice.partner_bank_id)
invoice.partner_id = False
self.assertEqual(invoice.payment_mode_id, self.payment_mode_model)
self.assertEqual(invoice.partner_bank_id, self.partner_bank_model)
def test_invoice_create(self):
invoice = self._create_invoice()
invoice.action_post()
aml = invoice.line_ids.filtered(
lambda l: l.account_id.user_type_id == self.acct_type_payable
)
self.assertEqual(invoice.payment_mode_id, aml[0].payment_mode_id)
def test_invoice_constrains(self):
with self.assertRaises(ValidationError):
self.move_model.create(
{
"partner_id": self.supplier.id,
"move_type": "in_invoice",
"company_id": self.company.id,
"payment_mode_id": self.supplier_payment_mode_c2.id,
}
)
def test_payment_mode_constrains_01(self):
self.move_model.create(
{
"partner_id": self.supplier.id,
"move_type": "in_invoice",
"company_id": self.company.id,
}
)
with self.assertRaises(ValidationError):
self.supplier_payment_mode.company_id = self.company_2
def test_payment_mode_constrains_02(self):
self.move_model.create(
{
"date": fields.Date.today(),
"journal_id": self.journal_sale.id,
"name": "/",
"ref": "reference",
"state": "draft",
"invoice_line_ids": [
(
0,
0,
{
"account_id": self.invoice_account.id,
"credit": 1000,
"debit": 0,
"name": "Test",
"ref": "reference",
},
),
(
0,
0,
{
"account_id": self.invoice_line_account.id,
"credit": 0,
"debit": 1000,
"name": "Test",
"ref": "reference",
},
),
],
}
)
with self.assertRaises(ValidationError):
self.supplier_payment_mode.company_id = self.company_2
def test_invoice_refund(self):
invoice = self._create_invoice()
invoice.partner_bank_id = False
invoice.action_post()
# Lets create a refund invoice for invoice_1.
# I refund the invoice Using Refund Button.
refund_invoice_wizard = (
self.env["account.move.reversal"]
.with_context(
{
"active_ids": [invoice.id],
"active_id": invoice.id,
"active_model": "account.move",
}
)
.create({"refund_method": "refund", "reason": "reason test create"})
)
refund_invoice = self.move_model.browse(
refund_invoice_wizard.reverse_moves()["res_id"]
)
self.assertEqual(refund_invoice.payment_mode_id, invoice.payment_mode_id)
self.assertEqual(refund_invoice.partner_bank_id, invoice.partner_bank_id)
def test_partner(self):
self.customer.write({"customer_payment_mode_id": self.customer_payment_mode.id})
self.assertEqual(
self.customer.customer_payment_mode_id, self.customer_payment_mode
)
def test_partner_onchange(self):
customer_invoice = self.move_model.create(
{"partner_id": self.customer.id, "move_type": "out_invoice"}
)
self.assertEqual(customer_invoice.payment_mode_id, self.customer_payment_mode)
self.assertEqual(self.supplier_invoice.partner_bank_id, self.supplier_bank)
vals = {"partner_id": False, "move_type": "out_invoice"}
invoice = self.move_model.new(vals)
self.assertFalse(invoice.payment_mode_id)
vals = {"partner_id": False, "move_type": "in_invoice"}
invoice = self.move_model.new(vals)
self.assertFalse(invoice.partner_bank_id)
def test_onchange_payment_mode_id(self):
mode = self.supplier_payment_mode
mode.payment_method_id.bank_account_required = True
self.supplier_invoice.partner_bank_id = self.supplier_bank.id
self.supplier_invoice.payment_mode_id = mode.id
self.assertEqual(self.supplier_invoice.partner_bank_id, self.supplier_bank)
mode.payment_method_id.bank_account_required = False
self.assertEqual(self.supplier_invoice.partner_bank_id, self.supplier_bank)
self.supplier_invoice.payment_mode_id = False
self.assertFalse(self.supplier_invoice.partner_bank_id)
def test_print_report(self):
self.supplier_invoice.partner_bank_id = self.supplier_bank.id
report = self.env.ref("account.account_invoices")
res = str(report._render_qweb_html(self.supplier_invoice.ids)[0])
self.assertIn(self.supplier_bank.acc_number, res)
payment_mode = self.supplier_payment_mode
payment_mode.show_bank_account_from_journal = True
self.supplier_invoice.payment_mode_id = payment_mode.id
self.supplier_invoice.partner_bank_id = False
res = str(report._render_qweb_html(self.supplier_invoice.ids)[0])
self.assertIn(self.journal_c1.bank_acc_number, res)
payment_mode.bank_account_link = "variable"
payment_mode.variable_journal_ids = [(6, 0, self.journal.ids)]
res = str(report._render_qweb_html(self.supplier_invoice.ids)[0])
self.assertIn(self.journal_bank.acc_number, res)
def test_filter_type_domain(self):
in_invoice = self.move_model.create(
{
"partner_id": self.supplier.id,
"move_type": "in_invoice",
"journal_id": self.journal_c1.id,
}
)
self.assertEqual(in_invoice.payment_mode_filter_type_domain, "outbound")
self.assertEqual(
in_invoice.partner_bank_filter_type_domain, in_invoice.commercial_partner_id
)
out_refund = self.move_model.create(
{
"partner_id": self.customer.id,
"move_type": "out_refund",
"journal_id": self.journal_c2.id,
}
)
self.assertEqual(out_refund.payment_mode_filter_type_domain, "outbound")
self.assertEqual(
out_refund.partner_bank_filter_type_domain, out_refund.commercial_partner_id
)
in_refund = self.move_model.create(
{
"partner_id": self.supplier.id,
"move_type": "in_refund",
"journal_id": self.journal_c1.id,
}
)
self.assertEqual(in_refund.payment_mode_filter_type_domain, "inbound")
self.assertEqual(
in_refund.partner_bank_filter_type_domain, in_refund.bank_partner_id
)
out_invoice = self.move_model.create(
{
"partner_id": self.customer.id,
"move_type": "out_invoice",
"journal_id": self.journal_c2.id,
}
)
self.assertEqual(out_invoice.payment_mode_filter_type_domain, "inbound")
self.assertEqual(
out_invoice.partner_bank_filter_type_domain, out_invoice.bank_partner_id
)

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2016 Akretion (http://www.akretion.com/)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="view_move_line_form" model="ir.ui.view">
<field name="name">account_payment_partner.move_line_form</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_move_line_form" />
<field name="arch" type="xml">
<xpath
expr="//group[@groups='analytic.group_analytic_accounting,analytic.group_analytic_tags']"
position="after"
>
<group name="payments" string="Payments">
<field name="payment_mode_id" widget="selection" />
</group>
</xpath>
</field>
</record>
</odoo>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2014-16 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="view_account_invoice_filter" model="ir.ui.view">
<field name="name">account_payment_partner.account_invoice_search</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_account_invoice_filter" />
<field name="arch" type="xml">
<filter name="status" position="after">
<filter
string="Payment Mode"
name="payment_mode_groupby"
context="{'group_by': 'payment_mode_id'}"
/>
</filter>
</field>
</record>
<record id="view_move_form" model="ir.ui.view">
<field name="name">account_payment_partner.view_move_form</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<xpath
expr="//div[field[@name='invoice_payment_term_id']]"
position="after"
>
<field
name="payment_mode_id"
domain="[('payment_type', '=', payment_mode_filter_type_domain), ('company_id', '=', company_id)]"
widget="selection"
attrs="{'readonly': [('state', '!=', 'draft')]}"
invisible="context.get('default_type') not in ('out_invoice','out_refund','in_invoice','in_refund')"
/>
<field name="commercial_partner_id" invisible="1" />
<field name="bank_account_required" invisible="1" />
<field name="payment_mode_filter_type_domain" invisible="1" />
<field name="partner_bank_filter_type_domain" invisible="1" />
</xpath>
<field name="partner_bank_id" position="attributes">
<attribute name="domain">
[('partner_id', '=', partner_bank_filter_type_domain),
'|',('company_id', '=', company_id),('company_id', '=', False)]
</attribute>
<attribute name="attrs">
{'required': [('bank_account_required', '=', True)], 'readonly':
[('state', '!=', 'draft')]}
</attribute>
<attribute name="context">
{'default_partner_id':commercial_partner_id}
</attribute>
</field>
</field>
</record>
<record id="view_invoice_tree" model="ir.ui.view">
<field name="name">account_payment_partner.view_invoice_tree</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_invoice_tree" />
<field name="arch" type="xml">
<field name="amount_residual_signed" position="after">
<field name="payment_mode_id" />
</field>
</field>
</record>
</odoo>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018 Carlos Dauden - Tecnativa <carlos.dauden@tecnativa.com>
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="account_payment_mode_form" model="ir.ui.view">
<field name="model">account.payment.mode</field>
<field name="inherit_id" ref="account_payment_mode.account_payment_mode_form" />
<field name="arch" type="xml">
<group name="note" position="before">
<group string="Show bank account in invoice report">
<group>
<field name="show_bank_account" />
<field
name="show_bank_account_from_journal"
attrs="{'invisible': [('show_bank_account', '=', 'no')]}"
/>
<field
name="show_bank_account_chars"
string="# of chars"
attrs="{'invisible': [('show_bank_account', 'not in', ['first', 'last'])]}"
/>
</group>
</group>
</group>
</field>
</record>
</odoo>

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template
id="report_invoice_payment_mode"
inherit_id="account.report_invoice_document"
>
<xpath expr="//p[@t-if='o.invoice_payment_term_id']" position="after">
<p t-if="o.payment_mode_id.note">
<strong>Payment Mode:</strong>
<span t-field="o.payment_mode_id.note" />
</p>
<t t-if="o.payment_mode_id and o.payment_mode_id.show_bank_account != 'no'">
<p t-foreach="o.partner_banks_to_show()" t-as="partner_bank">
<strong>Bank Account:</strong>
<t t-if="partner_bank.bank_id">
<t
t-esc="partner_bank.bank_id.name + ('' if not partner_bank.bank_id.bic else ' (' + partner_bank.bank_id.bic + ')')"
/>
</t>
<t t-if="o.payment_mode_id.show_bank_account == 'full'">
<span t-field="partner_bank.acc_number" />
</t>
<t t-elif="o.payment_mode_id.show_bank_account == 'first'">
<span
t-esc="partner_bank.acc_number[:o.payment_mode_id.show_bank_account_chars] + '*' * (len(partner_bank.acc_number) - o.payment_mode_id.show_bank_account_chars)"
/>
</t>
<t t-elif="o.payment_mode_id.show_bank_account == 'last'">
<span
t-esc="'*' * (len(partner_bank.acc_number) - o.payment_mode_id.show_bank_account_chars) + partner_bank.acc_number[-o.payment_mode_id.show_bank_account_chars:]"
/>
</t>
</p>
</t>
</xpath>
</template>
</odoo>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2014-2016 Akretion (http://www.akretion.com/)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="view_partner_property_form" model="ir.ui.view">
<field name="name">account_partner_payment.partner_form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="account.view_partner_property_form" />
<field name="arch" type="xml">
<field name="property_payment_term_id" position="after">
<field name="customer_payment_mode_id" widget="selection" />
</field>
<field name="property_supplier_payment_term_id" position="after">
<field name="supplier_payment_mode_id" widget="selection" />
</field>
</field>
</record>
</odoo>

View File

@@ -0,0 +1 @@
../../../../account_payment_partner

View File

@@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)