details: https://code.tryton.org/tryton/commit/3b604815a512
branch: default
user: Sergi Almacellas Abellana <[email protected]>
date: Sun Oct 11 16:01:42 2026 +0200
description:
Update documentation of sale_credit_limit module
diffstat:
modules/sale_credit_limit/CHANGELOG | 18 +++++++++++++++
modules/sale_credit_limit/doc/design.rst | 36 ++++++++++++++++++++++++++++++
modules/sale_credit_limit/doc/index.rst | 13 ++++++++--
modules/sale_credit_limit/doc/releases.rst | 7 +++++
modules/sale_credit_limit/tryton.cfg | 7 +++--
5 files changed, 75 insertions(+), 6 deletions(-)
diffs (171 lines):
diff -r 9a3eea5e59c6 -r 3b604815a512 modules/sale_credit_limit/CHANGELOG
--- a/modules/sale_credit_limit/CHANGELOG Sun Oct 11 15:31:28 2026 +0200
+++ b/modules/sale_credit_limit/CHANGELOG Sun Oct 11 16:01:42 2026 +0200
@@ -48,58 +48,76 @@
* Bug fixes (see mercurial logs for details)
Version 6.4.0 - 2022-05-02
+--------------------------
* Bug fixes (see mercurial logs for details)
* Add support for Python 3.10
* Remove support for Python 3.6
Version 6.2.0 - 2021-11-01
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 6.0.0 - 2021-05-03
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 5.8.0 - 2020-11-02
+--------------------------
* Bug fixes (see mercurial logs for details)
* Remove support for Python 3.5
Version 5.6.0 - 2020-05-04
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 5.4.0 - 2019-11-04
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 5.2.0 - 2019-05-06
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 5.0.0 - 2018-10-01
+--------------------------
* Bug fixes (see mercurial logs for details)
* Remove support for Python 2.7
Version 4.8.0 - 2018-04-23
+--------------------------
* Bug fixes (see mercurial logs for details)
* Base sale credit amount on quantity
Version 4.6.0 - 2017-10-30
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 4.4.0 - 2017-05-01
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 4.2.0 - 2016-11-28
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 4.0.0 - 2016-05-02
+--------------------------
* Bug fixes (see mercurial logs for details)
* Add Python3 support
Version 3.8.0 - 2015-11-02
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 3.6.0 - 2015-04-20
+--------------------------
* Bug fixes (see mercurial logs for details)
* Add support for PyPy
+
Version 3.4.0 - 2014-10-20
+--------------------------
* Bug fixes (see mercurial logs for details)
Version 3.2.0 - 2014-04-21
+--------------------------
* Initial release
diff -r 9a3eea5e59c6 -r 3b604815a512 modules/sale_credit_limit/doc/design.rst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/sale_credit_limit/doc/design.rst Sun Oct 11 16:01:42 2026 +0200
@@ -0,0 +1,36 @@
+******
+Design
+******
+
+The *Sale Credit Limit Module* extends the following concepts:
+
+.. _model-party.party:
+
+Party
+=====
+
+When the *Sale Credit Limit Module* is activated, the party's :guilabel:`Credit
+Amount` also includes the uninvoiced amount of `Sales <sale:model-sale.sale>`
+that have been confirmed or are being processed.
+This increases the credit exposure calculated by the :doc:`Account Credit Limit
+Module <account_credit_limit:index>`.
+
+.. seealso::
+
+ The `Party <party:model-party.party>` concept is introduced by the
+ :doc:`Party Module <party:index>`.
+
+.. _model-sale.sale:
+
+Sale
+====
+
+When the *Sale Credit Limit Module* is activated, confirming a sale will check
+the `party <model-party.party>`'s credit limit before the sale can be confirmed
+if the shipment method is :guilabel:`On Order`.
+The amount tested is the untaxed sale amount.
+
+.. seealso::
+
+ The `Sale <sale:model-sale.sale>` concept is introduced by the
+ :doc:`Sale Module <sale:index>`.
diff -r 9a3eea5e59c6 -r 3b604815a512 modules/sale_credit_limit/doc/index.rst
--- a/modules/sale_credit_limit/doc/index.rst Sun Oct 11 15:31:28 2026 +0200
+++ b/modules/sale_credit_limit/doc/index.rst Sun Oct 11 16:01:42 2026 +0200
@@ -1,6 +1,13 @@
+#################
Sale Credit Limit
#################
-The sale_credit_limit module adds confirmed sale but not yet invoiced to the
-"Credit Amount" of the Party and check the credit limit of the party when
-confirming a sale.
+The *Sale Credit Limit Module* adds sales that have been confirmed but not yet
+invoiced to the "Credit Amount" of the party and checks the party's credit
+limit when a sale is confirming.
+
+.. toctree::
+ :maxdepth: 2
+
+ design
+ releases
diff -r 9a3eea5e59c6 -r 3b604815a512 modules/sale_credit_limit/doc/releases.rst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/sale_credit_limit/doc/releases.rst Sun Oct 11 16:01:42
2026 +0200
@@ -0,0 +1,7 @@
+.. _releases-index:
+
+=============
+Release notes
+=============
+
+.. include:: ../CHANGELOG
diff -r 9a3eea5e59c6 -r 3b604815a512 modules/sale_credit_limit/tryton.cfg
--- a/modules/sale_credit_limit/tryton.cfg Sun Oct 11 15:31:28 2026 +0200
+++ b/modules/sale_credit_limit/tryton.cfg Sun Oct 11 16:01:42 2026 +0200
@@ -1,12 +1,13 @@
[tryton]
version=8.3.0
depends:
- ir
account_credit_limit
- sale
- currency
account_invoice
company
+ currency
+ ir
+ party
+ sale
[register]
model: