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_financial_risk #379

Merged
merged 83 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
dd26abf
[ADD] partner_financial_risk (#292)
carlosdauden Oct 23, 2016
7d7621c
[9.0][FIX] partner_financial_risk: Refund were not contemplated
carlosdauden Feb 3, 2017
60614b7
[9.0][IMP] partner_financial_risk: Improve performance (#385)
carlosdauden May 29, 2017
f244756
[9.0][FIX] partner_financial_risk: Error when risk_total includes dra…
carlosdauden Sep 5, 2017
fb58e53
[9.0][IMP] partner_financial_risk: Add track visibility to credit limit
chienandalu Sep 13, 2017
e670b79
[MIG] Partner Financial Risk : Migration to 10.0
Ehtaga Jul 25, 2017
a0daaac
[IMP] Minor changes
chienandalu Sep 7, 2017
86f77a7
[FIX] partner_financial_risk: Invoice refunds add risk
carlosdauden Oct 13, 2017
c78b5bb
[IMP] partner_financial_risk: New fields in view. Improve code.
carlosdauden Nov 3, 2017
ddc2955
[10.0][IMP] partner_financial_risk: Improve multicompany cron (#530)
carlosdauden Jan 31, 2018
9be6f9c
[MIG] partner_financial_risk: Migration to 11.0
carlosdauden Apr 25, 2018
7079928
[REN] partner_financial_risk > account_financial_risk
pedrobaeza May 7, 2018
c6d3b08
[IMP] account_financial_risk: Improve table layout
carlosdauden Jun 21, 2018
597a734
[IMP] account_financial_risk: Only block normal customer invoices val…
carlosdauden Aug 7, 2018
873b145
[MIG] account_financial_risk: Migration to 12.0
ernestotejeda Feb 22, 2019
3828006
[IMP] account_financial_risk: Manage risk in multiple invoice confirm…
carlosdauden Mar 25, 2019
cd881d7
Translated using Weblate (French)
chafique-delli Jul 23, 2019
cab3307
Translated using Weblate (Italian)
MarcoCalcagni Oct 19, 2019
7674f47
[FIX]account_financial_risk: risk_exception field explicitly setted t…
jesusVMayor Nov 14, 2019
b5687fb
Translated using Weblate (Spanish)
Feb 4, 2020
70de8c4
Translated using Weblate (Spanish (Chile))
Feb 4, 2020
69a584a
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Feb 20, 2020
93f7597
Translated using Weblate (Portuguese)
pedrocs-exo Feb 29, 2020
050c3ce
[IMP] account_financial_risk: Add allow overrisk invoice validation o…
carlosdauden Mar 23, 2020
de3995a
[IMP] account_financial_risk: Avoid compute all partners when save co…
carlosdauden Feb 27, 2020
a1d22e1
[IMP] account_financial_risk account_payment_return_financial_risk sa…
carlosdauden May 26, 2020
2d060fe
[IMP] account_financial_risk: black, isort, prettier
MiquelRForgeFlow Jun 8, 2020
372eb45
[MIG] account_financial_risk: Migration to 13.0
MiquelRForgeFlow Jun 8, 2020
80bc9a1
[IMP] Add selection: choose which currency should be used in risk
MiquelRForgeFlow Jun 16, 2020
4e181a6
[IMP] account_financial_risk: Add specific overpassing group
AaronHForgeFlow Oct 21, 2020
16e72f4
[MIG] account_financial_risk: Migration to 14.0
psugne Nov 20, 2020
ee05661
Translated using Weblate (French)
Yvesldff Mar 25, 2021
faa60dd
Translated using Weblate (Dutch)
bosd Apr 23, 2021
45db31b
[FIX] account_financial_risk: Fix tests fixing a date
pedrobaeza Jul 29, 2021
9bd5da7
[IMP] account_financial_risk: black, isort, prettier
JoanMForgeFlow Nov 3, 2021
2704304
[15.0][MIG] account_financial_risk:Migration to 15.0
JoanMForgeFlow Nov 4, 2021
e1fad6a
[FIX]-account-financial-risk: fixed test
JoanMForgeFlow Nov 8, 2021
b371dde
[FIX] account_financial_risk: Show ValidationError when post multiple…
carlosdauden Sep 3, 2021
3e2e365
[FIX] account_financial_risk: consider include in risk_exception
MiquelRForgeFlow Nov 30, 2021
922fad3
[IMP] account_financial_risk: add risk_amount_exceeded
MiquelRForgeFlow Nov 30, 2021
0167d3b
[FIX] account_financial_risk (bad migration): action_post -> post
MiquelRForgeFlow Dec 1, 2021
5bd5be5
[FIX] account_financial_risk: Remove customer_rank condition to show …
carlosdauden Dec 29, 2021
d0feaf7
[FIX] account_financial_risk: Don't store company_currency_id
pedrobaeza Jan 15, 2022
637e573
[FIX] account_financial_risk: inherit action_post instead of _post
fredzamoabg Mar 24, 2022
39834cb
Translated using Weblate (French)
ClementChaumienneC2C Jul 5, 2022
d692585
[FIX] account_financial_risk: issue with currenty rates.
LoisRForgeFlow Oct 4, 2022
c0341fb
[IMP] account_financial_risk: Alternative to check if move post is ca…
carlosdauden Oct 17, 2022
4342733
Translated using Weblate (French)
ClementChaumienneC2C Oct 18, 2022
29119b8
[15.0][IMP] account_financial_risk: credit limit last modification da…
Oct 31, 2022
e7ff5ab
[15.0][FIX] account_financial_risk: date_credit_limit view in edition…
Nov 7, 2022
f95b4bb
[FIX] account_financial_risk: Access error when displaying the partne…
AaronHForgeFlow Nov 11, 2022
83a3e59
[14.0][IMP] sale_financial_risk: Absolute and percentage values of re…
Aug 24, 2022
b029c2d
Translated using Weblate (Italian)
mymage Mar 30, 2023
83a9445
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
8f4fd60
Translated using Weblate (Italian)
mymage Apr 15, 2023
88e341a
[FIX] xxx_financial_risk: Inconsistent 'compute_sudo' for several com…
carlosdauden May 29, 2023
b51f7f7
[MIG] account_financial_risk: Migration to 16.0
ernesto-garcia-tecnativa Jul 4, 2023
7cb6438
[UPD] Update account_financial_risk.pot
Jul 5, 2023
a556944
[UPD] README.rst
OCA-git-bot Jul 5, 2023
55bc651
Update translation files
weblate Jul 5, 2023
3a5d81c
Translated using Weblate (Spanish)
Ivorra78 Jul 6, 2023
7177e15
[IMP] account_financial_risk: problems of partner view are fixed
ernesto-garcia-tecnativa Jul 10, 2023
13d1f82
account_financial_risk 16.0.1.1.0
OCA-git-bot Jul 11, 2023
6d8e37b
Translated using Weblate (Italian)
mymage Aug 4, 2023
451e54c
[FIX] account_financial_risk: adapt exception msg to multi record
baimont Jan 16, 2023
5d48933
account_financial_risk 16.0.1.1.1
OCA-git-bot Aug 14, 2023
a42fb7a
[UPD] README.rst
OCA-git-bot Sep 3, 2023
6fdfc9b
[IMP] account_financial_risk: Remove store parameter from two fields …
carlosdauden Sep 19, 2023
c5f3333
oca-github-bot post-merge updates
OCA-git-bot Sep 19, 2023
5aeca74
Translated using Weblate (Italian)
mymage Sep 20, 2023
2012570
Update translation files
weblate Oct 9, 2023
580dcad
[IMP] account_financial_risk: Change risk tab group to new for more f…
carlosdauden Jul 23, 2021
65596ed
[FIX] account_financial_risk: Active model not in context from header…
carlosdauden Mar 4, 2022
cd2812e
[UPD] Update account_financial_risk.pot
Oct 10, 2023
805e34e
[BOT] post-merge updates
OCA-git-bot Oct 10, 2023
fc6476d
Update translation files
weblate Oct 10, 2023
8d1270f
Translated using Weblate (Spanish)
Ivorra78 Oct 10, 2023
b0a617e
[IMP] account_financial_risk: test performance improvement
josep-tecnativa Oct 17, 2023
69cc2e3
[BOT] post-merge updates
OCA-git-bot Oct 20, 2023
b2256ca
[FIX] account_financial_risk: Recover original behavior of include ch…
sergio-teruel Nov 22, 2023
9290126
[BOT] post-merge updates
OCA-git-bot Nov 24, 2023
fb0f7a0
Translated using Weblate (Italian)
mymage Jan 3, 2024
fcddb80
[17.0][MIG] account_financial_risk: Migration to 17.0
Mat-moran Dec 14, 2023
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
133 changes: 133 additions & 0 deletions account_financial_risk/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
======================
Account Financial Risk
======================

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

.. |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_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_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|

Adds a new page in partner to manage its *Financial Risk*. (Only visible
for User or Manager Financial Risk groups)

If any limit is exceeded, you won't be able to confirm any of its
invoices unless you are authorized (Financial Risk Manager group). You
can click in risk amount to view amount origin.

|image1|

When a non-zero credit limit is set, the last modification date is saved
and displayed next to the credit limit.

.. |image1| image:: https://raw.githubusercontent.com/OCA/credit-control/17.0/account_financial_risk/static/description/financial_risk_click.png

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:

1. Go to User and set group User or Manager Financial Risk
2. Go to *Invoicing/Accounting > Configuration > Settings > Accounting*
3. In the *Customer Payments* section, fill *Maturity Margin* for
setting the number of days to last after the due date to consider an
invoice as unpaid.

Usage
=====

To use this module, you need to:

1. Go to *Invoicing/Accounting > Customers > Customers*.
2. Select an existing customer or create a new one.
3. Open the *Financial Risk* tab.
4. Set limits and choose options to compute in credit limit.
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.
7. Return to Customer *Financial Risk* tab and click in amount to view
origin.

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_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
- Pedro M. Baeza
- Ernesto Tejeda

- Agathe Mollé <agathe.molle@savoirfairelinux.com>
- Ugne Sinkeviciene <ugne@versada.eu>
- `Ooops404 <https://www.ooops404.com>`__:

- Ilyas <irazor147@gmail.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.

.. |maintainer-carlosdauden| image:: https://github.com/carlosdauden.png?size=40px
:target: https://github.com/carlosdauden
:alt: carlosdauden

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-carlosdauden|

This module is part of the `OCA/credit-control <https://github.com/OCA/credit-control/tree/17.0/account_financial_risk>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions account_financial_risk/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
28 changes: 28 additions & 0 deletions account_financial_risk/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2016-2018 Tecnativa - Carlos Dauden
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Account Financial Risk",
"summary": "Manage customer risk",
"version": "17.0.1.0.0",
"category": "Accounting",
"license": "AGPL-3",
"author": "Tecnativa, Odoo Community Association (OCA)",
"maintainers": ["carlosdauden"],
"website": "https://github.com/OCA/credit-control",
"depends": ["account"],
"data": [
"security/security.xml",
"security/ir.model.access.csv",
"views/account_financial_risk_view.xml",
"views/res_config_view.xml",
"views/res_partner_view.xml",
"wizards/partner_risk_exceeded_view.xml",
],
"assets": {
"web.assets_common": [
"account_financial_risk/static/src/scss/account_financial_risk_table.scss",
],
},
"installable": True,
}
Loading
Loading