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

[17.0][MIG] account_payment_return_financial_risk: Migration to version 17.0 #392

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c9b9333
[9.0][ADD] partner_payment_return_risk: New module
carlosdauden Nov 30, 2016
0d9edef
[IMP] Add tests and dependencies to pass travis and build runbot
cubells May 9, 2017
414d226
[9.0][FIX] partner_financial_risk: Invoice refunds add risk. (#476)
carlosdauden Oct 8, 2017
1010a7e
[MIG] partner_payment_return_risk: Migration to 11.0
carlosdauden May 9, 2018
3138a0d
[REN] partner_payment_return_risk > account_payment_return_financial_…
carlosdauden May 9, 2018
8c2cfcd
[IMP] account_payment_return_financial_risk: Improve layout view. Rea…
carlosdauden Jun 21, 2018
5875e43
[IMP] account_payment_return_financial_risk: Rename module in transla…
carlosdauden Jun 21, 2018
8608a31
[MIG] account_payment_return_financial_risk: Migration to 12.0
ernestotejeda Feb 28, 2019
1913149
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Feb 20, 2020
756be4a
[IMP] account_financial_risk account_payment_return_financial_risk sa…
carlosdauden May 26, 2020
0d9cdda
[IMP] account_payment_return_financial_risk: black, isort, prettier
Oct 2, 2020
9333dd5
[MIG] account_payment_return_financial_risk: Migration to 13.0
Oct 2, 2020
7332318
[FIX] account_payment_return_financial_risk: Avoid cache miss error i…
sergio-teruel Mar 15, 2021
b68a47a
[MIG] account_payment_return_financial_risk: Migration to 14.0
victoralmau Nov 9, 2021
9d52553
[MIG] account_payment_return_financial_risk: Migration to 15.0
pedrobaeza Apr 1, 2023
4fd2e7a
[FIX] xxx_financial_risk: Inconsistent 'compute_sudo' for several com…
carlosdauden May 29, 2023
1b16fe5
[MIG] account_payment_return_financial_risk: Migration to 16.0
victoralmau Sep 25, 2023
768703c
Update translation files
weblate Oct 9, 2023
406ff3b
Translated using Weblate (Spanish)
Ivorra78 Oct 9, 2023
beab8e0
[IMP] account_payment_return_financial_risk: test performance improve…
josep-tecnativa Oct 17, 2023
9731af0
Translated using Weblate (Dutch)
ThijsvOers Apr 2, 2024
d0e1518
Translated using Weblate (Italian)
mymage Apr 19, 2024
4be1e12
Translated using Weblate (Swedish)
jakobkrabbe Jun 19, 2024
071da1e
[IMP] account_payment_return_financial_risk: pre-commit stuff
carlos-lopez-tecnativa Jul 24, 2024
1c56152
[MIG] account_payment_return_financial_risk: Migration to 17.0
carlos-lopez-tecnativa Jul 24, 2024
9754a34
[FIX] sale_financial_risk: Avoid test error when comparing expected t…
carlos-lopez-tecnativa Sep 2, 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
102 changes: 102 additions & 0 deletions account_payment_return_financial_risk/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
===========================
Partner Payment Return Risk
===========================

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

.. |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%2Fcredit--control-lightgray.png?logo=github
:target: https://github.com/OCA/credit-control/tree/17.0/account_payment_return_financial_risk
:alt: OCA/credit-control
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/credit-control-17-0/credit-control-17-0-account_payment_return_financial_risk
: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/credit-control&target_branch=17.0
:alt: Try me on Runboat

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

Extends Account Financial Risk to manage payments returns.

If any limit is exceed the partner gets forbidden to confirm sale
orders.

**Table of contents**

.. contents::
:local:

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

Refer to the module 'account_financial_risk' configuration for the
initial steps

Usage
=====

To use this module, you need to:

1. Go to *Customers > Financial Risk*
2. Set limits and choose options to compute in credit limit.
3. Create an invoice and pay it.
4. Create a payment return.
5. Go to *Invoicing/Accounting > Customers > Invoices* and create new
customer invoices.
6. Test the restriction trying to create an invoice for the partner for
an amount higher of the limit you have set.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/credit-control/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/credit-control/issues/new?body=module:%20account_payment_return_financial_risk%0Aversion:%2017.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
-------

* Tecnativa

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

- `Tecnativa <https://www.tecnativa.com>`__:

- Carlos Dauden
- Ernesto Tejeda

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/credit-control <https://github.com/OCA/credit-control/tree/17.0/account_payment_return_financial_risk>`_ 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_return_financial_risk/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions account_payment_return_financial_risk/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2016-2018 Tecnativa - Carlos Dauden
# Copyright 2023 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Partner Payment Return Risk",
"version": "17.0.1.0.0",
"author": "Tecnativa, Odoo Community Association (OCA)",
"category": "Sales Management",
"website": "https://github.com/OCA/credit-control",
"license": "AGPL-3",
"depends": ["account_financial_risk", "account_payment_return"],
"data": ["views/res_partner_view.xml"],
"installable": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_return_financial_risk
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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_return_financial_risk
#: model:ir.model,name:account_payment_return_financial_risk.model_res_partner
msgid "Contact"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return_include
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return_include
msgid ""
"Full risk computation.\n"
"Residual amount of move lines not reconciled with returned lines related."
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return_include
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return_include
msgid "Include Payments Returns"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return_limit
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return_limit
msgid "Limit Payments Returns"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return
msgid ""
"Residual amount of move lines not reconciled with returned lines related."
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return_limit
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return_limit
msgid "Set 0 if it is not locked"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return
msgid "Total Payments Returns"
msgstr ""
63 changes: 63 additions & 0 deletions account_payment_return_financial_risk/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_return_financial_risk
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 00:47+0000\n"
"PO-Revision-Date: 2017-06-02 00:47+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\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_return_financial_risk
#: model:ir.model,name:account_payment_return_financial_risk.model_res_partner
msgid "Contact"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return_include
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return_include
msgid ""
"Full risk computation.\n"
"Residual amount of move lines not reconciled with returned lines related."
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return_include
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return_include
msgid "Include Payments Returns"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return_limit
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return_limit
msgid "Limit Payments Returns"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return
msgid ""
"Residual amount of move lines not reconciled with returned lines related."
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return_limit
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return_limit
msgid "Set 0 if it is not locked"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return
msgid "Total Payments Returns"
msgstr ""
64 changes: 64 additions & 0 deletions account_payment_return_financial_risk/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_return_financial_risk
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 00:47+0000\n"
"PO-Revision-Date: 2017-06-02 00:47+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 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_return_financial_risk
#: model:ir.model,name:account_payment_return_financial_risk.model_res_partner
msgid "Contact"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return_include
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return_include
msgid ""
"Full risk computation.\n"
"Residual amount of move lines not reconciled with returned lines related."
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return_include
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return_include
msgid "Include Payments Returns"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return_limit
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return_limit
msgid "Limit Payments Returns"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return
msgid ""
"Residual amount of move lines not reconciled with returned lines related."
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return_limit
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return_limit
msgid "Set 0 if it is not locked"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return
msgid "Total Payments Returns"
msgstr ""
63 changes: 63 additions & 0 deletions account_payment_return_financial_risk/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_payment_return_financial_risk
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 00:47+0000\n"
"PO-Revision-Date: 2017-06-02 00:47+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 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_return_financial_risk
#: model:ir.model,name:account_payment_return_financial_risk.model_res_partner
msgid "Contact"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return_include
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return_include
msgid ""
"Full risk computation.\n"
"Residual amount of move lines not reconciled with returned lines related."
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return_include
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return_include
msgid "Include Payments Returns"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return_limit
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return_limit
msgid "Limit Payments Returns"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return
msgid ""
"Residual amount of move lines not reconciled with returned lines related."
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_partner__risk_payment_return_limit
#: model:ir.model.fields,help:account_payment_return_financial_risk.field_res_users__risk_payment_return_limit
msgid "Set 0 if it is not locked"
msgstr ""

#. module: account_payment_return_financial_risk
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_partner__risk_payment_return
#: model:ir.model.fields,field_description:account_payment_return_financial_risk.field_res_users__risk_payment_return
msgid "Total Payments Returns"
msgstr ""
Loading
Loading