Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
181703a
[ADD] acocunt_payment_mode: Start to port bank-payment to v9 (with a …
alexis-via Apr 29, 2016
eaeb459
Move the account_payment_mode ir.rule in account_payment_mode module
yvaucher Jul 5, 2016
b8eead0
OCA Transbot updated translations from Transifex
oca-transbot Jul 2, 2016
1a6910f
Port almost all modules to v10 (#305)
Oct 19, 2016
191a150
OCA Transbot updated translations from Transifex
oca-transbot Sep 17, 2016
63482b9
[FIX] account_payment_*: 2 fixes
grindtildeath Aug 28, 2017
fd92240
[MIG] account_payment_mode
etobella Oct 11, 2017
40ac517
Better constraints for multicompany environments.
JordiBForgeFlow Oct 11, 2017
eea8ea3
[FIX+IMP] account_payment_mode: Several small usability improvements …
Apr 14, 2018
8eadf7f
OCA Transbot updated translations from Transifex
oca-transbot Nov 25, 2017
edeee32
Translated using Weblate (Español (España))
etobella Jul 13, 2018
4f6d010
[MIG] account_payment_mode: migrate to 12.0
mourad-ehm Oct 2, 2018
ede1623
[UPD] Update account_payment_mode.pot
oca-travis Dec 13, 2018
cf74ac6
[FIX] account_payment_mode: Don't show 2 times acc_type in partner ba…
pedrobaeza Jan 27, 2019
7fb9963
[11.0][FIX] account_payment_mode res.partner view banks group attribute
Jan 22, 2019
e4a5421
[FIX] account_payment_mode: Don't change acc_type field type
pedrobaeza Feb 2, 2019
139d22f
Translated using Weblate (Catalan)
May 27, 2019
3714bdf
[MIG] account_payment_mode: Migration to 13.0
lembregtse Oct 1, 2019
d12a6a1
[IMP] account_payment_mode: black, isort
rven Nov 8, 2019
a4dbce7
[MIG] account_payment_mode: Migration to 13.0
rven Nov 8, 2019
bf804e0
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Dec 13, 2019
38ed37f
Update translation files
oca-transbot Jan 23, 2020
a130c50
pre-commit update
OCA-git-bot Mar 14, 2020
033d4f0
[IMP] account_payment_purchase: black, isort
MiquelRForgeFlow Jan 29, 2020
d2b7faa
[MIG] account_payment_purchase: Migration to 13.0
MiquelRForgeFlow Jan 29, 2020
75a4a0d
[FIX] multicompany rule
astirpe Apr 9, 2020
7e2788f
Remove obsolete company_partner_id
May 14, 2020
b359f18
Update translation files
oca-transbot May 14, 2020
87a9606
Added translation using Weblate (Spanish (Argentina))
ibuioli Aug 7, 2020
9708b8f
Update "development_status": "Production/Stable"
rafaelbn Oct 15, 2020
a6b0f47
[MIG] account_payment_mode from v13 to v14
alexis-via Oct 16, 2020
4cce522
Added translation using Weblate (French (France))
Yvesldff Apr 10, 2021
f425890
Added translation using Weblate (Spanish (Chile))
Apr 18, 2021
91a8ebf
Translated using Weblate (Spanish)
Apr 18, 2021
6040940
account_payment_mode: use _check_company_auto = True on account.payme…
alexis-via Dec 26, 2020
903e6ee
Update translation files
oca-transbot Apr 21, 2021
2aad943
Translated using Weblate (Dutch)
bosd Apr 22, 2021
4fa906b
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 24, 2021
4b1e0db
Translated using Weblate (French)
Yvesldff Apr 27, 2021
23b8de3
Translated using Weblate (Portuguese)
pedrocs-exo Oct 25, 2021
30a59f7
account_payment_mode: allow cash journals
alexis-via Aug 27, 2021
0121e13
Update test suite
alexis-via Nov 2, 2021
b3c1760
Translated using Weblate (Italian)
francesco-ooops Nov 4, 2021
ff5b4d5
Translated using Weblate (Catalan)
jabelchi Nov 8, 2021
c738009
Added translation using Weblate (Swedish)
simonstromb Nov 12, 2021
7bb4c07
[MIG] account_payment_mode: Migration to 15.0
misern2 Nov 24, 2021
492520c
[IMP] account_payment_mode: Promote to Mature
etobella Apr 21, 2022
bbcdd1c
[MIG] account_payment_mode: Migration to 16.0
ThomasBinsfeld Oct 10, 2022
fdf516b
Update translation files
weblate Oct 20, 2022
9c27737
account_payment_mode: add sequence on payment mode
alexis-via Mar 2, 2023
598b4cc
Update translation files
weblate Mar 3, 2023
5027fd3
Translated using Weblate (Spanish)
Gelo-fl Jun 2, 2023
529ca15
Translated using Weblate (Italian)
mymage Jun 5, 2023
a51091c
[FIX] account_payment_mode: increase note field size
pausanchezqubiq Jun 6, 2023
ebdc868
[FIX] account_payment_mode: filter out unique payment methods in _def…
astirpe Apr 28, 2023
7172914
Translated using Weblate (Italian)
mymage Jun 7, 2023
5c9048b
Translated using Weblate (French)
remi-filament Jun 29, 2023
f0ef682
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
3e55e75
Update translation files
weblate Oct 10, 2023
7c1e8af
[IMP] account_payment_mode: pre-commit auto fixes
miquelalzanillas Nov 22, 2023
506f816
[MIG] account_payment_mode: Migration to 17.0
miquelalzanillas Nov 22, 2023
ddb8caa
Update translation files
weblate Feb 3, 2024
8413e12
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
72a1f15
[FIX] account_payment_mode: Remove XML header in HTML
pedrobaeza Jul 17, 2024
eebd2a8
[17.0][FIX] account_payment_mode: error when payment mode
imlopes Jul 8, 2024
2fbddfe
Translated using Weblate (Italian)
mymage Feb 4, 2024
d6ae21d
[IMP] account_payment_mode: test performance improvement
josep-tecnativa Oct 16, 2023
2d5685e
[MIG] account_payment_mode: Migration to 18.0
BertVGroenendael Oct 15, 2024
f64d82c
[IMP] account_payment_mode: change type of payment_mode.note field fr…
clementthomas Sep 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions account_payment_mode/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
====================
Account Payment Mode
====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:05b51bb50a6ce795b9c709cb7f50965bb1c89dd6f96469da94ad4b7520ba3330
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/bank-payment-18-0-account_payment_mode
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=18.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/bank-payment/issues/new?body=module:%20account_payment_mode%0Aversion:%2018.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 <alexis.delattre@akretion.com>
- Eric Lembregts <eric@lembregts.eu>
- Andrea Stirpe <a.stirpe@onestein.nl>
- Marçal Isern <marsal.isern@qubiq.es>
- Miquel Alzanillas <malzanillas@apsl.net>
- Bert Van Groenendael <bert.vangroenendael@dynapps.eu>

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/18.0/account_payment_mode>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions account_payment_mode/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions account_payment_mode/__manifest__.py
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 <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Account Payment Mode",
"version": "18.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,
}
110 changes: 110 additions & 0 deletions account_payment_mode/demo/payment_demo.xml
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>
Loading