Skip to content

[18.0][MIG] account_payment_sale #1386

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

Draft
wants to merge 38 commits into
base: 18.0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
fd2e079
Add 4 new modules to handle payment type and bank accounts:
Feb 24, 2014
99276a5
[MIG] account_payment_sale: Migration to 8.0
pedrobaeza Sep 10, 2014
aedc917
[MIG] account_payment_sale: Migration to v9
alexis-via May 2, 2016
ae1abe4
Port almost all modules to v10 (#305)
Oct 19, 2016
c9d4c25
[IMP] account_payment_sale: add payment mode to sale report
cubells Nov 30, 2017
2b8bc9d
[MIG] account_payment_sale: Migrate to 11.0
Dec 19, 2017
a3a2762
[IMP] account_payment_sale: Add tests to increase coverage
Jan 25, 2018
b6f4c35
[MIG] account_payment_sale: migrate to 12.0
mourad-ehm Oct 2, 2018
eb6c7f1
[MIG] account_payment_sale: Adapt tests to v12
pedrobaeza Dec 13, 2018
d693c69
[FIX] account_payment_sale: Propagate payment_mode to invoices create…
lmignon Sep 9, 2019
4fb423e
[IMP] account_payment_sale: black, isort
rven Nov 8, 2019
115e061
[MIG] account_payment_sale: Migration to 13.0
rven Jan 31, 2020
b2d4737
pre-commit update
OCA-git-bot Mar 14, 2020
57b852c
[FIX] account_payment_sale: Compatibility with account_banking_sepa_d…
carlosdauden Jan 13, 2020
49822e6
[MIG] account_payment_sale to 14.0
alexis-via Dec 24, 2020
508047f
[FIX] account_payment_sale: Adapt tests to 18489012
pedrobaeza Jul 21, 2021
22f6f0c
[MIG]account_payment_sale: Migration to 15.0
manuelregidor Apr 5, 2022
852526f
[MIG] account_payment_sale: Migration to 16.0
SodexisTeam Nov 11, 2022
4dcdec8
account_payment_sale: payment_mode_id in sale.report
alexis-via Dec 13, 2022
5ba700e
account_payment_sale: remove unneeded code
alexis-via Jun 19, 2023
9f927e0
[IMP] account_payment_sale: pre-commit auto fixes
ramiadavid Nov 26, 2023
8088217
[MIG] account_payment_sale: Migration to 17.0
ramiadavid Nov 26, 2023
ebd0ac9
[UPD] Update account_payment_sale.pot
Dec 11, 2023
58b4d38
[BOT] post-merge updates
OCA-git-bot Dec 11, 2023
f10909d
Translated using Weblate (Italian)
mymage Feb 4, 2024
2edc579
Translated using Weblate (Italian)
mymage Feb 29, 2024
050f43d
[IMP] account_banking_mandate: pre-commit auto fixes
ramiadavid Mar 2, 2024
81bef51
Translated using Weblate (Portuguese (Brazil))
May 17, 2024
868a5c7
Translated using Weblate (Catalan)
santiagopim May 29, 2024
c84affc
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
1bdb5c9
[FIX] account_payment_sale: Remove XML header in HTML
pedrobaeza Jul 17, 2024
c12985a
[IMP] account_payment_sale: test performance improvement
josep-tecnativa Oct 16, 2023
ac599f4
[IMP] account_payment_sale: Add payment mode in invoicing grouping cr…
rousseldenis Apr 3, 2024
f457565
[BOT] post-merge updates
OCA-git-bot Sep 19, 2024
698be61
[BOT] post-merge updates
OCA-git-bot Sep 20, 2024
ad17ed8
[IMP] account_payment_sale: pre-commit auto fixes
alexis-via Dec 13, 2024
f23c452
[MIG] account_payment_sale: migrate from 17 to 18
alexis-via Dec 13, 2024
633bdbf
[DON'T MERGE] add test-requirements.txt
alexis-via Mar 20, 2025
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
94 changes: 94 additions & 0 deletions account_payment_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
====================
Account Payment Sale
====================

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

.. |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/18.0/account_payment_sale
: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_sale
: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 modules adds one field on sale orders: *Payment Mode*. This field
is copied from customer to sale order and then from sale order to
customer invoice.

**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 sale order, then copied to the
related invoice. This default value can be changed sale orders or on
draft invoices.

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

Contributors
------------

- Pedro M. Baeza
- Alexis de Lattre <[email protected]>
- Alexandre Fayolle
- Danimar Ribeiro
- Raphaël Valyi
- Raf Ven <[email protected]>
- Manuel Regidor <[email protected]>
- Sodexis <[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_sale>`_ 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_sale/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions account_payment_sale/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2014-2016 Akretion France (https://www.akretion.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# @author Alexis de Lattre <[email protected]>

{
"name": "Account Payment Sale",
"version": "18.0.1.0.0",
"category": "Banking addons",
"license": "AGPL-3",
"summary": "Adds payment mode on sale orders",
"author": "Akretion, " "Tecnativa, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/bank-payment",
"depends": ["sale", "account_payment_base_oca"],
"data": [
"views/sale_order.xml",
"views/sale_report.xml",
"views/sale_report_templates.xml",
],
"auto_install": True,
}
35 changes: 35 additions & 0 deletions account_payment_sale/i18n/account_payment_sale.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.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_sale
#: model_terms:ir.ui.view,arch_db:account_payment_sale.report_sale_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr ""

#. module: account_payment_sale
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_order__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_report__payment_mode_id
msgid "Payment Mode"
msgstr ""

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_report
msgid "Sales Analysis Report"
msgstr ""

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_order
msgid "Sales Order"
msgstr ""
53 changes: 53 additions & 0 deletions account_payment_sale/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_sale
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: bank-payment (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-18 00:42+0000\n"
"PO-Revision-Date: 2024-05-29 20:37+0000\n"
"Last-Translator: Santiago Payà <[email protected]>\n"
"Language-Team: Catalan (http://www.transifex.com/oca/OCA-bank-payment-10-0/"
"language/ca/)\n"
"Language: ca\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"
"X-Generator: Weblate 4.17\n"

#. module: account_payment_sale
#: model_terms:ir.ui.view,arch_db:account_payment_sale.report_sale_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Mode de pagament:</strong>"

#. module: account_payment_sale
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_order__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_report__payment_mode_id
msgid "Payment Mode"
msgstr "Mode de pagament"

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_report
msgid "Sales Analysis Report"
msgstr "Informe d’anàlisi de vendes"

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_order
msgid "Sales Order"
msgstr "Comanda de venda"

#~ msgid "Display Name"
#~ msgstr "Nom de visualització"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Última modificació el"

#~ msgid "Sales Advance Payment Invoice"
#~ msgstr "Factura d'avançament de venda"
40 changes: 40 additions & 0 deletions account_payment_sale/i18n/da_DK.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_sale
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: bank-payment (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-18 00:42+0000\n"
"PO-Revision-Date: 2016-10-19 23:47+0000\n"
"Last-Translator: <>\n"
"Language-Team: Danish (Denmark) (http://www.transifex.com/oca/OCA-bank-"
"payment-10-0/language/da_DK/)\n"
"Language: da_DK\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_sale
#: model_terms:ir.ui.view,arch_db:account_payment_sale.report_sale_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr ""

#. module: account_payment_sale
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_order__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_report__payment_mode_id
msgid "Payment Mode"
msgstr "Betalingsform"

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_report
msgid "Sales Analysis Report"
msgstr ""

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_order
msgid "Sales Order"
msgstr ""
43 changes: 43 additions & 0 deletions account_payment_sale/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_sale
#
# Translators:
# OCA Transbot <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-02 03:43+0000\n"
"PO-Revision-Date: 2018-02-02 03:43+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2018\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\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_sale
#: model_terms:ir.ui.view,arch_db:account_payment_sale.report_sale_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Zahlungsmethode:</strong>"

#. module: account_payment_sale
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_order__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_report__payment_mode_id
msgid "Payment Mode"
msgstr "Zahlungsmodus"

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_report
msgid "Sales Analysis Report"
msgstr ""

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_order
msgid "Sales Order"
msgstr ""

#~ msgid "Sales Advance Payment Invoice"
#~ msgstr "Verkaufsanzahlungsrechnung"
50 changes: 50 additions & 0 deletions account_payment_sale/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_sale
#
# Translators:
# OCA Transbot <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-02 03:43+0000\n"
"PO-Revision-Date: 2023-09-02 18:08+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\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"
"X-Generator: Weblate 4.17\n"

#. module: account_payment_sale
#: model_terms:ir.ui.view,arch_db:account_payment_sale.report_sale_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Modo de pago:</strong>"

#. module: account_payment_sale
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_order__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_report__payment_mode_id
msgid "Payment Mode"
msgstr "Modo de pago"

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_report
msgid "Sales Analysis Report"
msgstr "Informe de análisis de ventas"

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_order
msgid "Sales Order"
msgstr "Pedidos de Venta"

#~ msgid "Journal Entries"
#~ msgstr "Asientos contables"

#~ msgid "Sales Advance Payment Invoice"
#~ msgstr "Ventas. Anticipo pago factura"

#~ msgid "Quotation"
#~ msgstr "Presupuesto"
44 changes: 44 additions & 0 deletions account_payment_sale/i18n/es_AR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-08-22 01:59+0000\n"
"Last-Translator: Ignacio Buioli <[email protected]>\n"
"Language-Team: none\n"
"Language: es_AR\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"
"X-Generator: Weblate 3.10\n"

#. module: account_payment_sale
#: model_terms:ir.ui.view,arch_db:account_payment_sale.report_sale_payment_mode
msgid "<strong>Payment Mode:</strong>"
msgstr "<strong>Modo de Pago:</strong>"

#. module: account_payment_sale
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_order__payment_mode_id
#: model:ir.model.fields,field_description:account_payment_sale.field_sale_report__payment_mode_id
msgid "Payment Mode"
msgstr "Modo de Pago"

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_report
msgid "Sales Analysis Report"
msgstr ""

#. module: account_payment_sale
#: model:ir.model,name:account_payment_sale.model_sale_order
msgid "Sales Order"
msgstr "Pedido de Ventas"

#~ msgid "Journal Entries"
#~ msgstr "Asientos Contables"

#~ msgid "Sales Advance Payment Invoice"
#~ msgstr "Factura de Anticipo de Ventas"
Loading
Loading