-
-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by dreispt
- Loading branch information
Showing
51 changed files
with
10,606 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
==================== | ||
Account Payment Mode | ||
==================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Mature | ||
.. |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/16.0/account_payment_mode | ||
: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-15-0/bank-payment-15-0-account_payment_mode | ||
: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/16.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds a new object *account.payment.mode*, that is used to better | ||
classify and route incoming/outgoing payment orders with the banks. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you need to go to the menu | ||
*Invoicing/Accounting > Configuration > Management > Payment Modes*. | ||
|
||
Usage | ||
===== | ||
|
||
This module doesn't add any feature, but it is used by several other modules. | ||
|
||
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_mode%0Aversion:%2015.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 | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Alexis de Lattre <[email protected]> | ||
* Eric Lembregts <[email protected]> | ||
* Andrea Stirpe <[email protected]> | ||
* Marçal Isern <[email protected]> | ||
|
||
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/16.0/account_payment_mode>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright 2016-2020 Akretion France (<https://www.akretion.com>) | ||
# @author: Alexis de Lattre <[email protected]> | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "Account Payment Mode", | ||
"version": "16.0.1.0.0", | ||
"development_status": "Mature", | ||
"license": "AGPL-3", | ||
"author": "Akretion,Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/bank-payment", | ||
"category": "Banking addons", | ||
"depends": ["account"], | ||
"data": [ | ||
"security/account_payment_mode.xml", | ||
"security/ir.model.access.csv", | ||
"views/account_payment_method.xml", | ||
"views/account_payment_mode.xml", | ||
"views/account_journal.xml", | ||
], | ||
"demo": ["demo/payment_demo.xml"], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<record id="bank_fiducial" model="res.bank"> | ||
<field name="name">Fiducial Banque</field> | ||
<field name="bic">FIDCFR21XXX</field> | ||
<field name="street">38 rue Sergent Michel Berthet</field> | ||
<field name="zip">69009</field> | ||
<field name="city">Lyon</field> | ||
<field name="country" ref="base.fr" /> | ||
</record> | ||
<record id="bank_la_banque_postale" model="res.bank"> | ||
<field name="name">La Banque Postale</field> | ||
<field name="bic">PSSTFRPPXXX</field> | ||
<field name="street">115 rue de Sèvres</field> | ||
<field name="zip">75007</field> | ||
<field name="city">Paris</field> | ||
<field name="country" ref="base.fr" /> | ||
</record> | ||
<record id="bank_societe_generale" model="res.bank"> | ||
<field name="name">Société Générale</field> | ||
<field name="bic">SOGEFRPPXXX</field> | ||
<field name="street">1 avenue du Roi Fabien 1er</field> | ||
<field name="zip">75008</field> | ||
<field name="city">Paris</field> | ||
<field name="country" ref="base.fr" /> | ||
</record> | ||
<record id="bank_fortis" model="res.bank"> | ||
<field name="name">BNP Paribas Fortis Charleroi</field> | ||
<field name="bic">GEBABEBB03A</field> | ||
<field name="city">Charleroi</field> | ||
<field name="country" ref="base.be" /> | ||
</record> | ||
<record id="main_company_iban" model="res.partner.bank"> | ||
<field name="acc_number">FR76 4242 4242 4242 4242 4242 424</field> | ||
<field name="bank_id" ref="bank_la_banque_postale" /> | ||
<field name="partner_id" ref="base.main_partner" /> | ||
</record> | ||
<record id="main_company_iban2" model="res.partner.bank"> | ||
<field name="acc_number">FR20 1242 1242 1242 1242 1242 124</field> | ||
<field name="bank_id" ref="bank_societe_generale" /> | ||
<field name="partner_id" ref="base.main_partner" /> | ||
</record> | ||
<record id="res_partner_12_iban" model="res.partner.bank"> | ||
<field name="acc_number">FR66 1212 1212 1212 1212 1212 121</field> | ||
<field name="bank_id" ref="bank_fiducial" /> | ||
<field name="partner_id" ref="base.res_partner_12" /> | ||
</record> | ||
<record id="res_partner_2_iban" model="res.partner.bank"> | ||
<field name="acc_number">BE96 9988 7766 5544</field> | ||
<field name="bank_id" ref="bank_fortis" /> | ||
<field name="partner_id" ref="base.res_partner_2" /> | ||
</record> | ||
<!-- Asustek already has a demo IBAN provided by base_iban --> | ||
<record id="payment_mode_outbound_ct1" model="account.payment.mode"> | ||
<field name="name">Credit Transfer to Suppliers</field> | ||
<field name="company_id" ref="base.main_company" /> | ||
<field name="bank_account_link">variable</field> | ||
<field | ||
name="payment_method_id" | ||
ref="account.account_payment_method_manual_out" | ||
/> | ||
</record> | ||
<record id="payment_mode_outbound_dd1" model="account.payment.mode"> | ||
<field name="name">Direct Debit of suppliers from Société Générale</field> | ||
<field name="company_id" ref="base.main_company" /> | ||
<field name="bank_account_link">variable</field> | ||
<field | ||
name="payment_method_id" | ||
ref="account.account_payment_method_manual_out" | ||
/> | ||
</record> | ||
<record id="payment_mode_outbound_dd2" model="account.payment.mode"> | ||
<field name="name">Direct Debit of suppliers from La Banque Postale</field> | ||
<field name="company_id" ref="base.main_company" /> | ||
<field name="bank_account_link">variable</field> | ||
<field | ||
name="payment_method_id" | ||
ref="account.account_payment_method_manual_out" | ||
/> | ||
</record> | ||
<record id="payment_mode_inbound_ct1" model="account.payment.mode"> | ||
<field name="name">Inbound Credit Trf Société Générale</field> | ||
<field name="company_id" ref="base.main_company" /> | ||
<field name="bank_account_link">variable</field> | ||
<!-- TODO: convert to fixed --> | ||
<field | ||
name="payment_method_id" | ||
ref="account.account_payment_method_manual_in" | ||
/> | ||
</record> | ||
<record id="payment_mode_inbound_ct2" model="account.payment.mode"> | ||
<field name="name">Inbound Credit Trf La Banque Postale</field> | ||
<field name="company_id" ref="base.main_company" /> | ||
<field name="bank_account_link">variable</field> | ||
<!-- TODO: convert to fixed --> | ||
<field | ||
name="payment_method_id" | ||
ref="account.account_payment_method_manual_in" | ||
/> | ||
</record> | ||
<record id="payment_mode_inbound_dd1" model="account.payment.mode"> | ||
<field name="name">Direct Debit of customers</field> | ||
<field name="company_id" ref="base.main_company" /> | ||
<field name="bank_account_link">variable</field> | ||
<field | ||
name="payment_method_id" | ||
ref="account.account_payment_method_manual_in" | ||
/> | ||
</record> | ||
</odoo> |
Oops, something went wrong.