diff --git a/sale_financial_risk_info/README.rst b/sale_financial_risk_info/README.rst index 84a0c15bf..7a0158fd2 100644 --- a/sale_financial_risk_info/README.rst +++ b/sale_financial_risk_info/README.rst @@ -17,13 +17,13 @@ Sale Financial Risk Info :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/16.0/sale_financial_risk_info + :target: https://github.com/OCA/credit-control/tree/18.0/sale_financial_risk_info :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-16-0/credit-control-16-0-sale_financial_risk_info + :target: https://translation.odoo-community.org/projects/credit-control-18-0/credit-control-18-0-sale_financial_risk_info :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=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/credit-control&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -38,21 +38,23 @@ Extends account financial risk to add consumption info in sales orders. Configuration ============= -ir.config_parameter options -~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ir.configparameter options +-------------------------- -#. You can define the config_parameter "sale_financial_risk_info.info_pattern" to customize -displayed info. Ex. "{risk_total} / {credit_limit} ({risk_percent}%)" -In addition to the example parameters there is the parameter "risk_available". +#. You can define the configparameter +"salefinancial_risk_info.info_pattern" to customize displayed info. Ex. +"{risktotal} / {creditlimit} ({riskpercent}%)" In +addition to the example parameters there is the parameter +"riskavailable". Usage ===== To use this module, you need to: -#. Go to *Customers > Financial Risk* -#. Set limits and choose options to compute in credit limit. -#. Go to *Sales -> Orders -> Orders* and create a new Sales Orders. +1. Go to *Customers > Financial Risk* +2. Set limits and choose options to compute in credit limit. +3. Go to *Sales -> Orders -> Orders* and create a new Sales Orders. Bug Tracker =========== @@ -60,7 +62,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -68,20 +70,20 @@ Credits ======= Authors -~~~~~~~ +------- * Tecnativa Contributors -~~~~~~~~~~~~ +------------ -* `Tecnativa `_: +- `Tecnativa `__: - * Carlos Dauden - * Ernesto Tejeda + - Carlos Dauden + - Ernesto Tejeda Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -93,6 +95,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/credit-control `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_financial_risk_info/__manifest__.py b/sale_financial_risk_info/__manifest__.py index 43793bd8c..d1bda4bd2 100644 --- a/sale_financial_risk_info/__manifest__.py +++ b/sale_financial_risk_info/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Sale Financial Risk Info", "summary": "Adds risk consumption info in sales orders.", - "version": "16.0.1.0.1", + "version": "18.0.1.0.1", "category": "Sales Management", "license": "AGPL-3", "author": "Tecnativa, Odoo Community Association (OCA)", diff --git a/sale_financial_risk_info/pyproject.toml b/sale_financial_risk_info/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/sale_financial_risk_info/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/sale_financial_risk_info/readme/CONFIGURE.md b/sale_financial_risk_info/readme/CONFIGURE.md new file mode 100644 index 000000000..8158d1d24 --- /dev/null +++ b/sale_financial_risk_info/readme/CONFIGURE.md @@ -0,0 +1,7 @@ +## ir.configparameter options + +#\. You can define the configparameter +"salefinancial_risk_info.info_pattern" to customize displayed info. Ex. +"\{risktotal} / {creditlimit} ({riskpercent}%)\" +In addition to the example parameters there is the parameter +"riskavailable". diff --git a/sale_financial_risk_info/readme/CONFIGURE.rst b/sale_financial_risk_info/readme/CONFIGURE.rst deleted file mode 100644 index 8f2a9e79d..000000000 --- a/sale_financial_risk_info/readme/CONFIGURE.rst +++ /dev/null @@ -1,6 +0,0 @@ -ir.config_parameter options -~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -#. You can define the config_parameter "sale_financial_risk_info.info_pattern" to customize -displayed info. Ex. "{risk_total} / {credit_limit} ({risk_percent}%)" -In addition to the example parameters there is the parameter "risk_available". diff --git a/sale_financial_risk_info/readme/CONTRIBUTORS.md b/sale_financial_risk_info/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..3632bb4ed --- /dev/null +++ b/sale_financial_risk_info/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- [Tecnativa](https://www.tecnativa.com): + - Carlos Dauden + - Ernesto Tejeda diff --git a/sale_financial_risk_info/readme/CONTRIBUTORS.rst b/sale_financial_risk_info/readme/CONTRIBUTORS.rst deleted file mode 100644 index 0b072f0d5..000000000 --- a/sale_financial_risk_info/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,4 +0,0 @@ -* `Tecnativa `_: - - * Carlos Dauden - * Ernesto Tejeda diff --git a/sale_financial_risk_info/readme/DESCRIPTION.rst b/sale_financial_risk_info/readme/DESCRIPTION.md similarity index 100% rename from sale_financial_risk_info/readme/DESCRIPTION.rst rename to sale_financial_risk_info/readme/DESCRIPTION.md diff --git a/sale_financial_risk_info/readme/USAGE.md b/sale_financial_risk_info/readme/USAGE.md new file mode 100644 index 000000000..36468296e --- /dev/null +++ b/sale_financial_risk_info/readme/USAGE.md @@ -0,0 +1,5 @@ +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. Go to *Sales -\> Orders -\> Orders* and create a new Sales Orders. diff --git a/sale_financial_risk_info/readme/USAGE.rst b/sale_financial_risk_info/readme/USAGE.rst deleted file mode 100644 index c8c58df2a..000000000 --- a/sale_financial_risk_info/readme/USAGE.rst +++ /dev/null @@ -1,5 +0,0 @@ -To use this module, you need to: - -#. Go to *Customers > Financial Risk* -#. Set limits and choose options to compute in credit limit. -#. Go to *Sales -> Orders -> Orders* and create a new Sales Orders. diff --git a/sale_financial_risk_info/static/description/index.html b/sale_financial_risk_info/static/description/index.html index 394094614..ca69d1c39 100644 --- a/sale_financial_risk_info/static/description/index.html +++ b/sale_financial_risk_info/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,13 +369,13 @@

Sale Financial Risk Info

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:8677caf0b7dc660d239ce7bcb6030179de290fd69f5ad01b5c1dcc367dbf0413 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/credit-control Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/credit-control Translate me on Weblate Try me on Runboat

Extends account financial risk to add consumption info in sales orders.

Table of contents

Configuration

-
-

ir.config_parameter options

-

#. You can define the config_parameter “sale_financial_risk_info.info_pattern” to customize -displayed info. Ex. “<h5{text_class}>{risk_total} / {credit_limit} ({risk_percent}%)</h5>” -In addition to the example parameters there is the parameter “risk_available”.

+
+

ir.configparameter options

+

#. You can define the configparameter +“salefinancial_risk_info.info_pattern” to customize displayed info. Ex. +“<h5{textclass}>{risktotal} / {creditlimit} ({riskpercent}%)</h5>” In +addition to the example parameters there is the parameter +“riskavailable”.

@@ -411,7 +413,7 @@

Bug Tracker

Bugs are tracked on GitHub 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.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -435,11 +437,13 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

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 project on GitHub.

+

This module is part of the OCA/credit-control project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/sale_financial_risk_info/views/res_partner_view.xml b/sale_financial_risk_info/views/res_partner_view.xml index 7e985474d..572f62964 100644 --- a/sale_financial_risk_info/views/res_partner_view.xml +++ b/sale_financial_risk_info/views/res_partner_view.xml @@ -1,6 +1,5 @@ - res.partner @@ -10,5 +9,4 @@ - diff --git a/sale_financial_risk_info/views/sale_order_view.xml b/sale_financial_risk_info/views/sale_order_view.xml index 7defa8c21..254b8bd5f 100644 --- a/sale_financial_risk_info/views/sale_order_view.xml +++ b/sale_financial_risk_info/views/sale_order_view.xml @@ -1,6 +1,5 @@ - sale.order @@ -10,5 +9,4 @@ -