Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] account_payment_mode #1367

Open
wants to merge 110 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
419bff7
[ADD] acocunt_payment_mode: Start to port bank-payment to v9 (with a …
alexis-via Apr 29, 2016
2163376
Move the account_payment_mode ir.rule in account_payment_mode module
yvaucher Jul 5, 2016
5ebc75c
OCA Transbot updated translations from Transifex
oca-transbot Jul 2, 2016
e0299ff
Port almost all modules to v10 (#305)
Oct 19, 2016
0578982
OCA Transbot updated translations from Transifex
oca-transbot Sep 17, 2016
ff5bed9
[FIX] account_payment_*: 2 fixes
grindtildeath Aug 28, 2017
ad163fa
[MIG] account_payment_mode
etobella Oct 11, 2017
3ebbe96
Better constraints for multicompany environments.
JordiBForgeFlow Oct 11, 2017
4ac0519
OCA Transbot updated translations from Transifex
oca-transbot Nov 25, 2017
60685ac
[FIX+IMP] account_payment_mode: Several small usability improvements …
Apr 14, 2018
4c76f5f
OCA Transbot updated translations from Transifex
oca-transbot Apr 21, 2018
7f422c5
[UPD] Update account_payment_mode.pot
oca-travis Jun 20, 2018
c2f9330
Translated using Weblate (Español (España))
etobella Jul 13, 2018
bdbdc02
[MIG] account_payment_mode: migrate to 12.0
mourad-ehm Oct 2, 2018
6c81ddb
[UPD] Update account_payment_mode.pot
oca-travis Dec 13, 2018
fbecf30
[FIX] account_payment_mode: Don't show 2 times acc_type in partner ba…
pedrobaeza Jan 27, 2019
df6b256
[11.0][FIX] account_payment_mode res.partner view banks group attribute
Jan 22, 2019
9545664
[FIX] account_payment_mode: Don't change acc_type field type
pedrobaeza Feb 2, 2019
ca155ae
Translated using Weblate (Catalan)
May 27, 2019
a8dda48
[MIG] account_payment_mode: Migration to 13.0
lembregtse Oct 1, 2019
e72627c
[IMP] account_payment_mode: black, isort
rven Nov 8, 2019
31c98ed
[MIG] account_payment_mode: Migration to 13.0
rven Nov 8, 2019
0bc8419
[UPD] Update account_payment_mode.pot
oca-travis Nov 9, 2019
bdb444f
[UPD] README.rst
OCA-git-bot Nov 9, 2019
90707cb
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Dec 13, 2019
f6d74dc
Update translation files
oca-transbot Jan 23, 2020
1a97170
pre-commit update
OCA-git-bot Mar 14, 2020
d36e821
[IMP] account_payment_purchase: black, isort
MiquelRForgeFlow Jan 29, 2020
a38163b
[MIG] account_payment_purchase: Migration to 13.0
MiquelRForgeFlow Jan 29, 2020
32204c2
[FIX] multicompany rule
astirpe Apr 9, 2020
456a2b6
[UPD] README.rst
OCA-git-bot Apr 21, 2020
a20efb2
account_payment_mode 13.0.1.1.0
OCA-git-bot Apr 21, 2020
236200e
Remove obsolete company_partner_id
May 14, 2020
a91953e
[UPD] Update account_payment_mode.pot
oca-travis May 14, 2020
e09da24
account_payment_mode 13.0.1.1.1
OCA-git-bot May 14, 2020
40bc025
Update translation files
oca-transbot May 14, 2020
a807194
[UPD] Update account_payment_mode.pot
oca-travis Jul 10, 2020
13c90c0
Update translation files
oca-transbot Jul 10, 2020
bf180a9
Added translation using Weblate (Spanish (Argentina))
ibuioli Aug 7, 2020
00ed403
Translated using Weblate (Spanish (Argentina))
ibuioli Aug 7, 2020
0993d20
Translated using Weblate (Spanish (Argentina))
ibuioli Aug 21, 2020
958399a
Translated using Weblate (Spanish (Argentina))
ibuioli Aug 25, 2020
1b5927f
Update "development_status": "Production/Stable"
rafaelbn Oct 15, 2020
dfb8d70
[UPD] README.rst
OCA-git-bot Oct 15, 2020
aea2918
account_payment_mode 13.0.1.1.2
OCA-git-bot Oct 15, 2020
d4be28d
[MIG] account_payment_mode from v13 to v14
alexis-via Oct 16, 2020
2ade5f1
[UPD] Update account_payment_mode.pot
oca-travis Oct 17, 2020
7cb5bd2
[UPD] README.rst
OCA-git-bot Oct 17, 2020
7b6d59d
Added translation using Weblate (French (France))
Yvesldff Apr 10, 2021
f2fc69e
Translated using Weblate (French (France))
Yvesldff Apr 10, 2021
f4d7d8d
Added translation using Weblate (Spanish (Chile))
Apr 18, 2021
9e21d43
Translated using Weblate (Spanish)
Apr 18, 2021
8857c74
Translated using Weblate (Spanish (Chile))
Apr 18, 2021
eaad0ce
account_payment_mode: use _check_company_auto = True on account.payme…
alexis-via Dec 26, 2020
01dffc3
[UPD] Update account_payment_mode.pot
oca-travis Apr 21, 2021
9d5da28
account_payment_mode 14.0.1.0.1
OCA-git-bot Apr 21, 2021
05b083f
Update translation files
oca-transbot Apr 21, 2021
90f0fb0
Translated using Weblate (Dutch)
bosd Apr 22, 2021
6b3cb1a
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 24, 2021
bf6187c
Translated using Weblate (French)
Yvesldff Apr 27, 2021
4a42fe6
Translated using Weblate (Portuguese)
pedrocs-exo Oct 25, 2021
a46bc68
account_payment_mode: allow cash journals
alexis-via Aug 27, 2021
b4a4ec8
Update test suite
alexis-via Nov 2, 2021
f641544
Translated using Weblate (Italian)
francesco-ooops Nov 4, 2021
546e915
Translated using Weblate (Catalan)
jabelchi Nov 8, 2021
7be8db2
Added translation using Weblate (Swedish)
simonstromb Nov 12, 2021
f3597e8
Translated using Weblate (Swedish)
simonstromb Nov 12, 2021
28611eb
[MIG] account_payment_mode: Migration to 15.0
misern2 Nov 24, 2021
145523c
[UPD] Update account_payment_mode.pot
Dec 28, 2021
6b961ec
[UPD] README.rst
OCA-git-bot Dec 28, 2021
4b34639
[IMP] account_payment_mode: Promote to Mature
etobella Apr 21, 2022
e0dfaae
[UPD] README.rst
OCA-git-bot Apr 21, 2022
1cf432c
account_payment_mode 15.0.1.0.1
OCA-git-bot Apr 21, 2022
03dead5
[MIG] account_payment_mode: Migration to 16.0
ThomasBinsfeld Oct 10, 2022
89447c6
[UPD] README.rst
OCA-git-bot Oct 20, 2022
e8f06b3
Update translation files
weblate Oct 20, 2022
3e243e5
[UPD] Update account_payment_mode.pot
Nov 17, 2022
58ea06c
Update translation files
weblate Nov 17, 2022
5c47e3f
account_payment_mode: add sequence on payment mode
alexis-via Mar 2, 2023
a1103d4
[UPD] Update account_payment_mode.pot
Mar 3, 2023
1162db0
account_payment_mode 16.0.1.1.0
OCA-git-bot Mar 3, 2023
e605576
Update translation files
weblate Mar 3, 2023
7202cbf
Translated using Weblate (Spanish)
Gelo-fl Jun 2, 2023
28290ac
Translated using Weblate (Italian)
mymage Jun 5, 2023
da6e17b
[FIX] account_payment_mode: increase note field size
pausanchezqubiq Jun 6, 2023
49a4cb0
[FIX] account_payment_mode: filter out unique payment methods in _def…
astirpe Apr 28, 2023
9753891
Translated using Weblate (Italian)
mymage Jun 7, 2023
c921719
account_payment_mode 16.0.1.1.1
OCA-git-bot Jun 13, 2023
2c73452
Translated using Weblate (Italian)
mymage Jun 23, 2023
1b0190f
account_payment_mode 16.0.1.2.0
OCA-git-bot Jun 26, 2023
1bfd2d9
Translated using Weblate (French)
remi-filament Jun 29, 2023
a3125fb
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
9cb9250
[UPD] README.rst
OCA-git-bot Sep 3, 2023
541fe4b
Update translation files
weblate Oct 10, 2023
b2f5892
[IMP] account_payment_mode: pre-commit auto fixes
miquelalzanillas Nov 22, 2023
ef8d20c
[MIG] account_payment_mode: Migration to 17.0
miquelalzanillas Nov 22, 2023
84948f2
[UPD] Update account_payment_mode.pot
Nov 24, 2023
9f50dbd
[BOT] post-merge updates
OCA-git-bot Nov 24, 2023
e2360fc
Update translation files
weblate Feb 3, 2024
fc6888b
Translated using Weblate (Italian)
mymage Feb 4, 2024
d66cfdc
Translated using Weblate (Italian)
mymage Feb 13, 2024
bdb17d0
Translated using Weblate (Italian)
mymage Mar 1, 2024
daff19e
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
fa138e8
[FIX] account_payment_mode: Remove XML header in HTML
pedrobaeza Jul 17, 2024
61e0b01
[17.0][FIX] account_payment_mode: error when payment mode
Jul 8, 2024
b8a42b7
[BOT] post-merge updates
OCA-git-bot Jul 29, 2024
129520e
Translated using Weblate (Italian)
mymage Aug 31, 2024
861d674
[IMP] account_payment_mode: test performance improvement
josep-tecnativa Oct 16, 2023
bd68b2e
[BOT] post-merge updates
OCA-git-bot Sep 20, 2024
6d6b68f
[MIG] account_payment_mode: Migration to 18.0
BertVGroenendael Oct 15, 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 <[email protected]>
- Eric Lembregts <[email protected]>
- Andrea Stirpe <[email protected]>
- Marçal Isern <[email protected]>
- Miquel Alzanillas <[email protected]>
- Bert Van Groenendael <[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/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 <[email protected]>
# 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
Loading