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_purchase: Migration to 16.0 #1004

Merged
merged 45 commits into from
Jun 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
da3c4ee
Add 4 new modules to handle payment type and bank accounts: - account…
Feb 24, 2014
df5758f
wrapping module description lines to keep cool with the PEP-8 extremists
rvalyi Mar 21, 2014
794886b
Update to the new data-model decided during the Open Days 2014. Add d…
Jun 9, 2014
09e507a
Launchpad automatic translations update.
Jun 26, 2014
0b08ee1
Launchpad automatic translations update.
Jun 27, 2014
9f1c8d3
Initial adjustments for 8.0 repository
pedrobaeza Sep 10, 2014
6b1d85a
Migration and enhancement of all modules involved in SEPA
pedrobaeza Sep 10, 2014
8352563
Clean files
pedrobaeza Oct 6, 2014
5b62e53
account_payment_sale_stock: Split for removing stock dependency on sa…
pedrobaeza Oct 31, 2014
29c2aca
Translation template files [IMP] Translations to spanish
pedrobaeza Nov 1, 2014
88d7290
Use sale_ok and purchase_ok instead of tweaking payment type
pedrobaeza Nov 7, 2014
20ee1b9
Add sale_ok and purchase_ok filters in partner/sale/purchase form vie…
Jan 19, 2015
125bae1
Portuguese translations
danimaribeiro Feb 13, 2015
5e3b618
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
216920b
Expand authors + manifest cleaning
pedrobaeza May 25, 2015
50a8d2d
Add requested descriptions in an OCA README.rst file
phschmidt Jun 1, 2015
f086d10
some typo corrections
phschmidt Jun 5, 2015
963aa7c
Add missing default oca icons
yvaucher Aug 18, 2015
d0f679d
prefix versions with 8.0
sbidoul Oct 9, 2015
9494854
Make modules uninstallable
pedrobaeza Oct 14, 2015
6939b27
account_payment_purchase: Propagate payment_mode on MTO/drop shipping
pedrobaeza Nov 25, 2015
f5bcc2c
account_payment_*: Ensure work with dropshipping dual invoice
pedrobaeza Jan 25, 2016
8d2f8c0
Finalise the wizard of selection of move lines to pay
alexis-via May 5, 2016
b3c1608
Remove module account_payment_purchase
alexis-via May 6, 2016
59f1c30
account_payment_purchase: set correctly payment mode in purchases cre…
jesusVMayor Aug 4, 2016
090dc84
account_payment_purchase module
cubells Apr 10, 2017
ec61427
account_payment_purchase: Migration to 10.0
Abranes Jul 5, 2018
850663b
account_payment_purchase: Migration to 11.0
cubells Oct 5, 2018
6521a7a
Translated using Weblate (Portuguese (Brazil))
Aug 26, 2019
fd134bf
Translated using Weblate (Catalan)
Oct 7, 2019
9a66745
[IMP] account_payment_purchase: black, isort
MiquelRForgeFlow Jan 29, 2020
b48955c
[MIG] account_payment_purchase: Migration to 13.0
MiquelRForgeFlow Jan 29, 2020
c450a8a
Split account_payment_purchase (add account_payment_purchase_stock)
astirpe May 21, 2019
c14bcf6
Translated using Weblate (Portuguese (Brazil))
Jul 1, 2020
0d4d583
Added translation using Weblate (Spanish (Argentina))
ibuioli Aug 6, 2020
feb6b55
Translated using Weblate (Spanish (Argentina))
ibuioli Aug 7, 2020
ab2736c
[MIG] account_payment_purchase: Migration to v14
CarlosRoca13 Jan 22, 2021
5d35ac0
Translated using Weblate (French)
Yvesldff Feb 11, 2021
8ca37bb
Translated using Weblate (Swedish)
simonstromb Nov 17, 2021
77a51dc
[account_payment_purchase][fix] Only warn for non-blank payment mode …
JordiBForgeFlow Apr 28, 2021
ce5da9d
[MIG] account_payment_purchase: Migration to 15.0
koenloodts Dec 16, 2021
30511f9
[FIX] account_payment_purchase: solved error get payment mode and ban…
cramosh Feb 25, 2022
6ab34e5
[FIX] account_payment_purchase: Make payment method to require bank a…
May 17, 2022
5235cb6
[IMP] account_payment_purchase: pre-commit stuff
ramiadavid Dec 20, 2022
3094e7e
[MIG] account_payment_purchase: Migration to 16.0
ramiadavid Oct 23, 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
118 changes: 118 additions & 0 deletions account_payment_purchase/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
========================
Account Payment Purchase
========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fbank--payment-lightgray.png?logo=github
:target: https://github.com/OCA/bank-payment/tree/15.0/account_payment_purchase
: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_purchase
: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/15.0
:alt: Try me on Runbot

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

This module adds 2 fields on purchase orders: *Bank Account* and *Payment
Mode*. These fields are copied from partner to purchase order and then from
purchase order to supplier invoice.

This module is similar to the *purchase_payment* module; the main difference
is that it doesn't depend on the *account_payment_extension* module (it's not
the only module to conflict with *account_payment_extension*; all the SEPA
modules in the banking addons conflict with *account_payment_extension*).

**Table of contents**

.. contents::
:local:

Installation
============

This module depends on :

- purchase
- account_payment_partner

This module is part of the OCA/bank-payment suite.

Usage
=====

You are able to add a payment mode directly on a partner.
This payment mode is automatically associated to the purchase order, then on
related invoice.
This default value could be change in a draft purchase or 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.


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_purchase%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
* Alexandre Fayolle
* Danimar Ribeiro
* Raphaël Valyi
* Abraham Anes <[email protected]>
* `Tecnativa <https://www.tecnativa.com>`_:

* Pedro M. Baeza
* Vicent Cubells
* Carlos Roca

* Nikul Chaudhary <[email protected]>
* Miquel Raïch <[email protected]>
* Andrea Stirpe <[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/15.0/account_payment_purchase>`_ project on GitHub.

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

from . import models
17 changes: 17 additions & 0 deletions account_payment_purchase/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2016 Akretion (<http://www.akretion.com>).
# Copyright 2017 Tecnativa - Vicent Cubells
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Account Payment Purchase",
"version": "16.0.1.0.0",
"category": "Banking addons",
"license": "AGPL-3",
"summary": "Adds Bank Account and Payment Mode on Purchase Orders",
"author": "Akretion, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/bank-payment",
"depends": ["account_payment_partner", "purchase"],
"data": ["views/purchase_order_view.xml"],
"installable": True,
"auto_install": True,
}
61 changes: 61 additions & 0 deletions account_payment_purchase/i18n/account_payment_purchase.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_purchase
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.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_payment_purchase
#: model:ir.model,name:account_payment_purchase.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_payment_purchase
#: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__payment_mode_id
msgid "Payment Mode"
msgstr ""

#. module: account_payment_purchase
#: model:ir.model,name:account_payment_purchase.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: account_payment_purchase
#: model:ir.model.fields,help:account_payment_purchase.field_purchase_order__supplier_partner_bank_id
msgid ""
"Select the bank account of your supplier on which your company should send "
"the payment. This field is copied from the partner and will be copied to the"
" supplier invoice."
msgstr ""

#. module: account_payment_purchase
#: code:addons/account_payment_purchase/models/account_move.py:0
#, python-format
msgid "Selected purchase order have different payment mode."
msgstr ""

#. module: account_payment_purchase
#: code:addons/account_payment_purchase/models/account_move.py:0
#, python-format
msgid "Selected purchase order have different supplier bank."
msgstr ""

#. module: account_payment_purchase
#: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__supplier_partner_bank_id
msgid "Supplier Bank Account"
msgstr ""

#. module: account_payment_purchase
#: code:addons/account_payment_purchase/models/account_move.py:0
#: code:addons/account_payment_purchase/models/account_move.py:0
#, python-format
msgid "Warning"
msgstr ""
69 changes: 69 additions & 0 deletions account_payment_purchase/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_purchase
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-17 02:46+0000\n"
"PO-Revision-Date: 2017-05-17 02:46+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: account_payment_purchase
#: model:ir.model,name:account_payment_purchase.model_account_move
msgid "Journal Entries"
msgstr ""

#. module: account_payment_purchase
#: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__payment_mode_id
msgid "Payment Mode"
msgstr ""

#. module: account_payment_purchase
#: model:ir.model,name:account_payment_purchase.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: account_payment_purchase
#: model:ir.model.fields,help:account_payment_purchase.field_purchase_order__supplier_partner_bank_id
msgid ""
"Select the bank account of your supplier on which your company should send "
"the payment. This field is copied from the partner and will be copied to the "
"supplier invoice."
msgstr ""

#. module: account_payment_purchase
#: code:addons/account_payment_purchase/models/account_invoice.py:0
#, python-format
msgid "Selected purchase order have different payment mode."
msgstr ""

#. module: account_payment_purchase
#: code:addons/account_payment_purchase/models/account_invoice.py:0
#, python-format
msgid "Selected purchase order have different supplier bank."
msgstr ""

#. module: account_payment_purchase
#: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__supplier_partner_bank_id
msgid "Supplier Bank Account"
msgstr ""

#. module: account_payment_purchase
#: code:addons/account_payment_purchase/models/account_invoice.py:0
#, python-format
msgid "Warning"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "فاتورة"
68 changes: 68 additions & 0 deletions account_payment_purchase/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_purchase
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-17 02:46+0000\n"
"PO-Revision-Date: 2017-05-17 02:46+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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_payment_purchase
#: model:ir.model,name:account_payment_purchase.model_account_move
msgid "Journal Entries"
msgstr ""

#. module: account_payment_purchase
#: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__payment_mode_id
msgid "Payment Mode"
msgstr ""

#. module: account_payment_purchase
#: model:ir.model,name:account_payment_purchase.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: account_payment_purchase
#: model:ir.model.fields,help:account_payment_purchase.field_purchase_order__supplier_partner_bank_id
msgid ""
"Select the bank account of your supplier on which your company should send "
"the payment. This field is copied from the partner and will be copied to the "
"supplier invoice."
msgstr ""

#. module: account_payment_purchase
#: code:addons/account_payment_purchase/models/account_invoice.py:0
#, python-format
msgid "Selected purchase order have different payment mode."
msgstr ""

#. module: account_payment_purchase
#: code:addons/account_payment_purchase/models/account_invoice.py:0
#, python-format
msgid "Selected purchase order have different supplier bank."
msgstr ""

#. module: account_payment_purchase
#: model:ir.model.fields,field_description:account_payment_purchase.field_purchase_order__supplier_partner_bank_id
msgid "Supplier Bank Account"
msgstr ""

#. module: account_payment_purchase
#: code:addons/account_payment_purchase/models/account_invoice.py:0
#, python-format
msgid "Warning"
msgstr ""

#~ msgid "Invoice"
#~ msgstr "Фактура"
Loading