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 invoice merge payment #1816

Open
wants to merge 23 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
cc50009
[ADD] Add account_invoice_merge_payment module
adrienpeiffer Mar 11, 2015
f2137c1
[ADD] Add OCA as author
adrienpeiffer Mar 11, 2015
38a754c
[IMP][account_invoice_merge_payment] Improve install section on READM…
adrienpeiffer Apr 4, 2015
811201f
[IMP][account_invoice_merge_payment] Remove empty section on the mani…
adrienpeiffer Apr 4, 2015
5dad1f0
[IMP][account_invoice_merge_payment] Typo
adrienpeiffer Apr 4, 2015
4db097b
[IMP][account_invoice_merge_payment] Add licence badge
adrienpeiffer May 6, 2015
545a4cf
[FIX] adapt account_invoice_merge_payment to refactoring
hbrunn Aug 31, 2015
6968f1d
OCA Transbot updated translations from Transifex
oca-transbot Sep 1, 2015
304619a
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
323207c
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
2f36838
[FIX] account_invoice_merge_payment: Fix manifest
pedrobaeza Oct 14, 2015
aafa3a8
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
83b9971
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
a153a95
[MIG] account_invoice_merge_payment to 10.0
benwillig May 8, 2017
79cc296
[10.0][FIX] account_invoice_merge_payment: Make it installable
rousseldenis Dec 13, 2018
f1ae84f
[UPD] Update account_invoice_merge_payment.pot
oca-travis Dec 18, 2018
105206d
[ADD] icon.png
OCA-git-bot Apr 3, 2019
d044997
[MIG] account_invoice_merge_payment: Migration to 12.0
mourad-ehm Jun 15, 2020
6096894
[FIX] add read me files
mourad-ehm Jun 16, 2020
76a67e4
[FIX] adapt to new change in account_invoice_merge module
mourad-ehm Jun 17, 2020
e78bf07
Fix typo in account_invoice_merge_payment/README.rst
fcayre Feb 5, 2022
49a178c
[IMP] account_invoice_merge_payment: pre-commit stuff
Oct 18, 2024
8d412ee
[MIG] account_invoice_merge_payment: Migration to 16.0 (from 12.0)
Oct 18, 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
85 changes: 85 additions & 0 deletions account_invoice_merge_payment/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
=============================
Account Invoice Merge Payment
=============================

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

.. |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%2Faccount--invoicing-lightgray.png?logo=github
:target: https://github.com/OCA/account-invoicing/tree/16.0/account_invoice_merge_payment
:alt: OCA/account-invoicing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_merge_payment
: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/account-invoicing&target_branch=16.0
:alt: Try me on Runboat

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

his module was written to extend the functionality of Account Invoice Merge
module to support fields added in Account Payment Partner from OCA/bank-payment

**Table of contents**

.. contents::
:local:

Configuration
=============

* The module is automatically installed when account_invoice_merge and account_payment_partner are installed

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/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/account-invoicing/issues/new?body=module:%20account_invoice_merge_payment%0Aversion:%2016.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
~~~~~~~

* ACSONE SA/NV

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

* Stéphane Bidoul <stephane.bidoul@acsone.eu>
* Adrien Peiffer <adrien.peiffer@acsone.eu>
* Benjamin Willig <benjamin.willig@acsone.eu>
* Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>

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/account-invoicing <https://github.com/OCA/account-invoicing/tree/16.0/account_invoice_merge_payment>`_ 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_invoice_merge_payment/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions account_invoice_merge_payment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2015-2017 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Account Invoice Merge Payment",
"summary": """
Use invoice merge regarding fields on Account Payment Partner""",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-invoicing",
"category": "Invoicing & Payments",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": [
"account_invoice_merge",
"account_payment_partner",
],
"auto_install": True,
"installable": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_merge_payment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.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_invoice_merge_payment
#: model:ir.model,name:account_invoice_merge_payment.model_account_invoice
msgid "Invoice"
msgstr ""

24 changes: 24 additions & 0 deletions account_invoice_merge_payment/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_merge_payment
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: account-invoicing (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-08-25 16:48+0000\n"
"PO-Revision-Date: 2015-07-15 10:35+0000\n"
"Last-Translator: <>\n"
"Language-Team: French (http://www.transifex.com/oca/OCA-account-"
"invoicing-8-0/language/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_invoice_merge_payment
#: model:ir.model,name:account_invoice_merge_payment.model_account_invoice
msgid "Invoice"
msgstr "Facture"
26 changes: 26 additions & 0 deletions account_invoice_merge_payment/i18n/sl.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_merge_payment
#
# Translators:
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2015
msgid ""
msgstr ""
"Project-Id-Version: account-invoicing (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-08-25 16:48+0000\n"
"PO-Revision-Date: 2015-08-16 11:39+0000\n"
"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>\n"
"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-"
"invoicing-8-0/language/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_invoice_merge_payment
#: model:ir.model,name:account_invoice_merge_payment.model_account_invoice
msgid "Invoice"
msgstr "Račun"
1 change: 1 addition & 0 deletions account_invoice_merge_payment/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import account_move
19 changes: 19 additions & 0 deletions account_invoice_merge_payment/models/account_move.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2015-2017 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import api, models


class AccountMove(models.Model):

_inherit = "account.move"

@api.model
def _get_invoice_key_cols(self):
return super()._get_invoice_key_cols() + ["payment_mode_id"]

@api.model
def _get_first_invoice_fields(self, invoice):
res = super()._get_first_invoice_fields(invoice)
res.update({"payment_mode_id": invoice.payment_mode_id.id})
return res
1 change: 1 addition & 0 deletions account_invoice_merge_payment/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* The module is automatically installed when account_invoice_merge and account_payment_partner are installed
4 changes: 4 additions & 0 deletions account_invoice_merge_payment/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* Stéphane Bidoul <stephane.bidoul@acsone.eu>
* Adrien Peiffer <adrien.peiffer@acsone.eu>
* Benjamin Willig <benjamin.willig@acsone.eu>
* Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
2 changes: 2 additions & 0 deletions account_invoice_merge_payment/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
his module was written to extend the functionality of Account Invoice Merge
module to support fields added in Account Payment Partner from OCA/bank-payment
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading