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

[16.0] [MIG] account_payment_partner #969

Merged
merged 120 commits into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
dcad5c8
Add 4 new modules to handle payment type and bank accounts:
Feb 24, 2014
a068b75
Launchpad automatic translations update.
Jun 27, 2014
849047a
[MIG] account_payment_partner: Migration to v8
pedrobaeza Sep 10, 2014
34f005b
[FIX+IMP] account_payment_partner: 2 things:
rlizana Nov 27, 2014
5d97d82
[IMP] account_payment_partner: Several things:
Jan 14, 2015
5da0873
Portuguese translations
danimaribeiro Feb 13, 2015
374bca6
Add read access on payment.mode to employees
Mar 16, 2015
599805c
[FIX] account_payment_partner: Fix for finding account move lines wit…
pedrobaeza Mar 9, 2015
59c97e4
[IMP] Expand authors + manifest cleaning
pedrobaeza May 25, 2015
c936283
Add requested descriptions in an OCA README.rst file
phschmidt Jun 1, 2015
93fb3ca
ADD description on payment mode and show it on invoice report
Jul 2, 2015
f5cd5f0
[RFR] decorate overridable methods in wizard as api.multi
hbrunn Jul 8, 2015
d77f563
[FIX+IMP] account_payment_partner: Several things:
alexis-via Oct 19, 2015
77ff49f
[IMP] account_payment_partner: Several things
pedrobaeza Feb 15, 2016
294cd5f
[MIG] account_payment_partner: Start to port bank-payment to v9 (with…
alexis-via Apr 29, 2016
6a533dc
OCA Transbot updated translations from Transifex
oca-transbot Apr 9, 2016
9a0f233
Port almost all modules to v10 (#305)
Oct 19, 2016
a6f035c
[IMP] account_payment_partner: Several things:
pedrobaeza Apr 2, 2017
3956808
OCA Transbot updated translations from Transifex
oca-transbot Sep 17, 2016
4fcedc5
[MIG] account_payment_partner
etobella Oct 17, 2017
f32a73e
add tests and small fixes
JordiBForgeFlow Oct 22, 2017
dd83b9a
OCA Transbot updated translations from Transifex
oca-transbot Nov 25, 2017
abc0969
[FIX] account_payment_partner: impossible to define if there was no c…
oihane Jan 17, 2018
5bb6401
[FIX] Fix issue when the bank_id of partner_bank_id is not set (field…
acsonefho Feb 12, 2018
bd84e4f
[11.0][FIX] account_payment_partner: onchange if more than one bank
astirpe Jan 22, 2018
8084da1
[CHG] account_payment_partner: Prevent to delete bank account linked …
adrienpeiffer Dec 4, 2017
74343da
OCA Transbot updated translations from Transifex
oca-transbot May 26, 2018
ccfb580
Translated using Weblate (Español (España))
etobella Jul 13, 2018
59c0a5a
[FIX+IMP] account_payment_partner: Fix invoice bank account assignati…
carlosdauden Mar 15, 2018
9c4906c
[IMP] account_payment_partner: Add several tests
cubells Dec 3, 2018
4293479
[MIG] account_payment_partner: Adapt tests + code to latest version
pedrobaeza Dec 4, 2018
dc8422c
[MIG] account_payment_partner: migrate to 12.0
mourad-ehm Oct 2, 2018
a6e4752
[MIG] account_payment_partner: Fix tests for new version
pedrobaeza Dec 13, 2018
628c804
[UPD] Update account_payment_partner.pot
oca-travis Dec 13, 2018
e180970
[MIG] account_banking_pain_base: Migration to 12.0
pedrobaeza Dec 14, 2018
9b255db
Update translation files
oca-transbot Dec 29, 2018
3a122d3
Translated using Weblate (Catalan)
Mar 15, 2019
c798da6
Update invoice_supplier_form view
altoch Jan 27, 2019
5f91a84
Add indexes on account payment models
guewen May 7, 2019
368ff27
[FIX] test_invoice_refund
rven Jul 15, 2019
d41adc8
[UPD] README.rst
OCA-git-bot Jul 29, 2019
310b09b
Translated using Weblate (Catalan)
Oct 4, 2019
31817a7
[IMP] account_payment_partner: black, isort
rven Nov 8, 2019
26de286
[MIG] account_payment_partner: Migration to 13.0
rven Dec 19, 2019
f3b808e
[UPD] Update account_payment_partner.pot
oca-travis Jan 23, 2020
ccba5e3
[UPD] README.rst
OCA-git-bot Jan 23, 2020
4133a6f
Update translation files
oca-transbot Jan 31, 2020
290b03a
[MIG] account_payment_sale: Migration to 13.0
rven Jan 31, 2020
fefdb68
pre-commit update
OCA-git-bot Mar 14, 2020
d1bea59
[IMP] account_payment_purchase: black, isort
MiquelRForgeFlow Jan 29, 2020
3fe3f98
[MIG] account_payment_purchase: Migration to 13.0
MiquelRForgeFlow Jan 29, 2020
0c16b6f
[FIX] account_payment_partner: payment_mode_id default not set for Re…
atchuthan Apr 2, 2020
1549971
account_payment_partner 13.0.1.0.1
OCA-git-bot Apr 3, 2020
a1beddb
Added translation using Weblate (Spanish (Argentina))
ibuioli Aug 6, 2020
bb55661
Translated using Weblate (Spanish (Argentina))
ibuioli Aug 7, 2020
63ab5ba
Update translation files
oca-transbot Aug 16, 2020
cf6cee8
[IMP] account_payment_partner: black, isort, prettier
misern2 Oct 16, 2020
d1fa981
[MIG] account_payment_partner: Migration to 14.0
misern2 Oct 17, 2020
5b0fd90
[UPD] Update account_payment_partner.pot
oca-travis Nov 18, 2020
f067a0e
[UPD] README.rst
OCA-git-bot Nov 18, 2020
3e2c2b8
account_payment_partner: FIX form view of account.move
alexis-via Dec 26, 2020
a6851e7
[UPD] Update account_payment_partner.pot
oca-travis Feb 4, 2021
88ab11b
account_payment_partner 14.0.1.1.0
OCA-git-bot Feb 4, 2021
711d2af
Update translation files
oca-transbot Feb 4, 2021
d6257a2
[FIX] account_payment_partner: Set correct journals in tests to preve…
victoralmau Mar 12, 2021
7ecfd65
account_payment_partner 14.0.1.1.1
OCA-git-bot Mar 12, 2021
232fcf3
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 1, 2021
25bd7cc
Added translation using Weblate (French (France))
Yvesldff Apr 10, 2021
0deae8f
Translated using Weblate (French (France))
Yvesldff Apr 10, 2021
f4d509e
[FIX] account_payment_partner: Fix tests
joao-p-marques Apr 14, 2021
4bf39eb
account_payment_partner 14.0.1.1.2
OCA-git-bot Apr 14, 2021
a6a8e65
Translated using Weblate (Dutch)
bosd Apr 17, 2021
a5bc022
Added translation using Weblate (Spanish (Chile))
Apr 18, 2021
e39a18a
Translated using Weblate (Spanish)
Apr 18, 2021
3228ecd
Translated using Weblate (Spanish (Chile))
Apr 18, 2021
7cde1e1
Translated using Weblate (Dutch)
bosd Apr 22, 2021
17b8ca5
[IMP] account_payment_partner: Add refund_payment_mode_id to assign a…
victoralmau May 4, 2021
03a65c4
[IMP] account_payment_partner: Add refund_payment_mode_id to set in r…
victoralmau May 25, 2021
6039d77
[UPD] Update account_payment_partner.pot
oca-travis May 30, 2021
36d9c6a
[UPD] README.rst
OCA-git-bot May 30, 2021
b30b3c5
account_payment_partner 14.0.1.2.0
OCA-git-bot May 30, 2021
6b1f0b1
Update translation files
oca-transbot May 30, 2021
ffd9e72
Translated using Weblate (Spanish (Argentina))
ibuioli May 30, 2021
7660d59
[FIX] account_payment_partner: _compute_invoice_partner_bank isn't ex…
carlosdauden Jul 8, 2021
6ddda99
[14.0][FIX] account_payment_partner: pass invoice_partner_bank_id cor…
JordiMForgeFlow Jul 30, 2021
b6933ed
account_payment_partner 14.0.1.2.2
OCA-git-bot Jul 30, 2021
f69355f
[IMP] account_payment_partner: Add Payment mode to Invoices Analysis
victoralmau Aug 18, 2021
4481482
[UPD] Update account_payment_partner.pot
oca-travis Aug 23, 2021
5770141
[UPD] README.rst
OCA-git-bot Aug 23, 2021
1d82568
account_payment_partner 14.0.1.3.0
OCA-git-bot Aug 23, 2021
9243a55
Update translation files
oca-transbot Aug 23, 2021
b20d3b7
Translated using Weblate (Spanish (Argentina))
ibuioli Aug 29, 2021
b1720bd
[FIX] account_payment_partner: Set the correct value of payment_mode_id
victoralmau Sep 17, 2021
095e368
account_payment_partner 14.0.1.3.1
OCA-git-bot Sep 17, 2021
5b73ef1
Added translation using Weblate (Portuguese)
pedrocs-exo Oct 25, 2021
4c1ecc8
Translated using Weblate (Portuguese)
pedrocs-exo Oct 25, 2021
5a55fc8
account_payment_partner: add optional="hide" on payment mode in invoi…
alexis-via Jul 3, 2021
af6fa45
Update test suite
alexis-via Nov 2, 2021
7ac7085
Added translation using Weblate (Italian)
francesco-ooops Nov 4, 2021
db298f3
Translated using Weblate (Italian)
francesco-ooops Nov 4, 2021
8d8351b
Added translation using Weblate (Swedish)
simonstromb Nov 17, 2021
2ef534d
Translated using Weblate (Swedish)
simonstromb Nov 17, 2021
8ad0427
[IMP] account_payment_partner: black, isort, prettier
misern2 Nov 24, 2021
ec6028f
[MIG] account_payment_partner: Migration to 15.0
misern2 Dec 2, 2021
3c14704
[UPD] Update account_payment_partner.pot
Feb 7, 2022
04573fc
[UPD] README.rst
OCA-git-bot Feb 7, 2022
e40ed09
[FIX] account_payment_partner: only use bank_account_required in bills
MiquelRForgeFlow Mar 8, 2022
dfeaf9e
account_payment_partner 15.0.1.1.0
OCA-git-bot Mar 8, 2022
a98ec78
Translated using Weblate (Catalan)
juliap98 Mar 29, 2022
9260c48
Translated using Weblate (Catalan)
Noel000 Apr 13, 2022
cbc67a7
[IMP] account_payment_partner: Promote to Mature
etobella Apr 21, 2022
093049a
[UPD] README.rst
OCA-git-bot Apr 21, 2022
96c5f6b
account_payment_partner 15.0.1.1.1
OCA-git-bot Apr 21, 2022
7c98ab2
[FIX] account_payment_partner: Fix tests
ramiadavid Jul 6, 2022
92cd1d7
account_payment_partner 15.0.1.1.2
OCA-git-bot Jul 7, 2022
e16214c
[FIX] account_payment_partner: Fix multi-company issues
joao-p-marques Mar 26, 2021
2d69e3f
[FIX] company in payment_mode_id domain
felipemotter Jul 16, 2022
9244d49
account_payment_partner 15.0.1.2.0
OCA-git-bot Jul 20, 2022
d6ccb71
[IMP] account_payment_partner: pre-commit execution
ThomasBinsfeld Oct 11, 2022
00ab7d0
[MIG] account_payment_partner: Migration to 16.0
ThomasBinsfeld Oct 11, 2022
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
132 changes: 132 additions & 0 deletions account_payment_partner/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
=======================
Account Payment Partner
=======================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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_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-15-0/bank-payment-15-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/16.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds several 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.

* the *Payment mode* on Invoices Analysis.

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:%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
* Tecnativa

Contributors
~~~~~~~~~~~~

* Alexis de Lattre <[email protected]>
* Raphaël Valyi
* Stefan Rijnhart (Therp)
* Alexandre Fayolle
* Stéphane Bidoul <[email protected]>
* Danimar Ribeiro
* Angel Moya <[email protected]>
* `Tecnativa <https://www.tecnativa.com>`_:

* Pedro M. Baeza
* Carlos Dauden
* Víctor Martínez
* `DynApps <https://www.dynapps.be>`_:

* Raf Ven <[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_partner>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions account_payment_partner/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
from . import reports
27 changes: 27 additions & 0 deletions account_payment_partner/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2014 Akretion - Alexis de Lattre <[email protected]>
# Copyright 2014 Tecnativa - Pedro M. Baeza
# Copyright 2018 Tecnativa - Carlos Dauden
# Copyright 2021 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Account Payment Partner",
"version": "16.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",
"development_status": "Mature",
"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",
"reports/account_invoice_report_view.xml",
],
"demo": ["demo/partner_demo.xml"],
"installable": True,
}
35 changes: 35 additions & 0 deletions account_payment_partner/demo/partner_demo.xml
Original file line number Diff line number Diff line change
@@ -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>
Loading