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

[MIG][13.0] account_financial_risk: Migration to v13.0 #52

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
bc37e28
[ADD] partner_financial_risk (#292)
carlosdauden Oct 23, 2016
beb5c6c
OCA Transbot updated translations from Transifex
oca-transbot Nov 29, 2016
64fa12b
[9.0][FIX] partner_financial_risk: Refund were not contemplated
carlosdauden Feb 3, 2017
1a969d5
OCA Transbot updated translations from Transifex
oca-transbot Feb 18, 2017
a32b429
[9.0][IMP] partner_financial_risk: Improve performance (#385)
carlosdauden May 29, 2017
7b9f42c
OCA Transbot updated translations from Transifex
oca-transbot Jul 1, 2017
515085e
[9.0][FIX] partner_financial_risk: Error when risk_total includes dra…
carlosdauden Sep 5, 2017
76b3260
[9.0][IMP] partner_financial_risk: Add track visibility to credit limit
chienandalu Sep 13, 2017
eedca3f
[MIG] Partner Financial Risk : Migration to 10.0
Ehtaga Jul 25, 2017
04cca64
[IMP] Minor changes
chienandalu Sep 7, 2017
5dc7783
[FIX] partner_financial_risk: Invoice refunds add risk
carlosdauden Oct 13, 2017
db6e2b9
[IMP] partner_financial_risk: New fields in view. Improve code.
carlosdauden Nov 3, 2017
c81af2c
[10.0][IMP] partner_financial_risk: Improve multicompany cron (#530)
carlosdauden Jan 31, 2018
e00622c
[MIG] partner_financial_risk: Migration to 11.0
carlosdauden Apr 25, 2018
4f4a8f0
[REN] partner_financial_risk > account_financial_risk
pedrobaeza May 7, 2018
8c40127
[UPD] README.rst
OCA-git-bot Jun 21, 2018
1bf528f
[IMP] account_financial_risk: Improve table layout
carlosdauden Jun 21, 2018
2b198b6
[UPD] README.rst
OCA-git-bot Jun 22, 2018
934055b
[IMP] account_financial_risk: Only block normal customer invoices val…
carlosdauden Aug 7, 2018
351a6e8
[MIG] account_financial_risk: Migration to 12.0
ernestotejeda Feb 22, 2019
d7c9f3b
[IMP] account_financial_risk: Manage risk in multiple invoice confirm…
carlosdauden Mar 25, 2019
ea2e6de
[UPD] Update account_financial_risk.pot
oca-travis May 20, 2019
2c40af2
Translated using Weblate (French)
chafique-delli Jul 23, 2019
ae2a1ad
Translated using Weblate (French)
chafique-delli Jul 23, 2019
9478d8f
[UPD] README.rst
OCA-git-bot Jul 29, 2019
87864b9
Translated using Weblate (Italian)
MarcoCalcagni Oct 19, 2019
6bc7098
Translated using Weblate (Italian)
MarcoCalcagni Oct 19, 2019
0735367
[FIX]account_financial_risk: risk_exception field explicitly setted t…
jesusVMayor Nov 14, 2019
a6c087a
account_financial_risk 12.0.1.1.1
OCA-git-bot Nov 14, 2019
3c0eba5
Translated using Weblate (Spanish)
Feb 4, 2020
6af2e6c
Translated using Weblate (Spanish (Chile))
Feb 4, 2020
582d906
Translated using Weblate (Spanish)
Feb 4, 2020
d48230f
[IMP] account_financial_risk: black, isort
sergio-teruel Feb 8, 2020
c1cdd76
[MIG] account_financial_risk: Migration to v13.0
sergio-teruel Feb 8, 2020
907add5
[FIX] account_financial_risk: allow to define non stored computed fie…
alan196 Feb 28, 2020
6281439
Merge pull request #4 from Jarsa-dev/13.0-mig-account_financial_risk
pedrobaeza Feb 28, 2020
a5fffc6
[IMP] account_financial_risk: Avoid compute all partners when save co…
carlosdauden Feb 27, 2020
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
106 changes: 106 additions & 0 deletions account_financial_risk/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
======================
Account Financial Risk
======================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Fcredit--control-lightgray.png?logo=github
:target: https://github.com/OCA/credit-control/tree/13.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-13-0/credit-control-13-0-account_financial_risk
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/262/13.0
:alt: Try me on Runbot

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

Adds a new page in partner to manage its *Financial Risk*.

If any limit is exceeded, you won't be able to confirm any of its invoices
unless you are authorized (Account Billing Manager group).

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:

#. Go to *Invoicing/Accounting > Configuration > Settings > Accounting*
#. 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:

#. Go to *Invoicing/Accounting > Customers > Customers*.
#. Select an existing customer or create a new one.
#. Open the *Financial Risk* tab.
#. Set limits and choose options to compute in credit limit.
#. Go to *Invoicing/Accounting > Customers > Invoices* and create new
customer invoices.
#. 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/credit-control/issues/new?body=module:%20account_financial_risk%0Aversion:%2013.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
* Sergio Teruel

* Agathe Mollé <agathe.molle@savoirfairelinux.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/credit-control <https://github.com/OCA/credit-control/tree/13.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
22 changes: 22 additions & 0 deletions account_financial_risk/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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": "13.0.1.0.0",
"category": "Accounting",
"license": "AGPL-3",
"author": "Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/credit-control",
"depends": ["account"],
"data": [
"data/account_financial_risk_data.xml",
"views/res_config_view.xml",
"views/res_partner_view.xml",
"wizards/account_invoice_state_view.xml",
"wizards/partner_risk_exceeded_view.xml",
"templates/assets.xml",
],
"installable": True,
}
17 changes: 17 additions & 0 deletions account_financial_risk/data/account_financial_risk_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<!-- Copyright 2016-2018 Tecnativa - Carlos Dauden
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">

<record id="ir_cron_due_invoice_every_day" model="ir.cron">
<field name="name">Financial risk: Process due invoices</field>
<field name="model_id" ref="model_res_partner"/>
<field name="state">code</field>
<field name="code">model.process_unpaid_invoices()</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
</record>

</odoo>
Loading