diff --git a/sale_order_general_discount/README.rst b/sale_order_general_discount/README.rst index 2456cf24345..d631786161e 100644 --- a/sale_order_general_discount/README.rst +++ b/sale_order_general_discount/README.rst @@ -28,12 +28,14 @@ Sale Order General Discount |badge1| |badge2| |badge3| |badge4| |badge5| -This module allows to set a general discount in a sales order. This general -discount is set to each line order in the standard `discount` field. +This module allows to set a general discount in a sales order. This +general discount is set to each line order in the standard discount +field. You can configure: - * a default general discount on customers - * On each product define if general discount is applied + +- a default general discount on customers +- On each product define if general discount is applied **Table of contents** @@ -43,19 +45,19 @@ You can configure: Installation ============ -You need to install sale_management module for accessing the needed menus. +You need to install sale_management module for accessing the needed +menus. Usage ===== To use this module, you need to: -#. Create a sale order and set a discount, - this discount will be set in all lines. -#. You can set a discount in a partner. -#. On product you can define if you - apply general discount on sale order line - linked to that product +1. Create a sale order and set a discount, this discount will be set in + all lines. +2. You can set a discount in a partner. +3. On product you can define if you apply general discount on sale order + line linked to that product Bug Tracker =========== @@ -71,23 +73,23 @@ Credits ======= Authors -~~~~~~~ +------- * Tecnativa Contributors -~~~~~~~~~~~~ +------------ -* `Tecnativa `_: +- `Tecnativa `__: - * Sergio Teruel - * Stefan Ungureanu + - Sergio Teruel + - Stefan Ungureanu -* Raf Ven -* Sudhir Arya +- Raf Ven +- Sudhir Arya Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. diff --git a/sale_order_general_discount/readme/CONTRIBUTORS.md b/sale_order_general_discount/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..88f7cbcfcb5 --- /dev/null +++ b/sale_order_general_discount/readme/CONTRIBUTORS.md @@ -0,0 +1,5 @@ +- [Tecnativa](https://www.tecnativa.com): + - Sergio Teruel \<\> + - Stefan Ungureanu \<\> +- Raf Ven \<\> +- Sudhir Arya \<\> diff --git a/sale_order_general_discount/readme/CONTRIBUTORS.rst b/sale_order_general_discount/readme/CONTRIBUTORS.rst deleted file mode 100644 index ef09abf24b9..00000000000 --- a/sale_order_general_discount/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,7 +0,0 @@ -* `Tecnativa `_: - - * Sergio Teruel - * Stefan Ungureanu - -* Raf Ven -* Sudhir Arya diff --git a/sale_order_general_discount/readme/DESCRIPTION.md b/sale_order_general_discount/readme/DESCRIPTION.md new file mode 100644 index 00000000000..f9539cbb76b --- /dev/null +++ b/sale_order_general_discount/readme/DESCRIPTION.md @@ -0,0 +1,7 @@ +This module allows to set a general discount in a sales order. This +general discount is set to each line order in the standard discount +field. + +You can configure: +- a default general discount on customers +- On each product define if general discount is applied diff --git a/sale_order_general_discount/readme/DESCRIPTION.rst b/sale_order_general_discount/readme/DESCRIPTION.rst deleted file mode 100644 index 88bd66fae3e..00000000000 --- a/sale_order_general_discount/readme/DESCRIPTION.rst +++ /dev/null @@ -1,6 +0,0 @@ -This module allows to set a general discount in a sales order. This general -discount is set to each line order in the standard `discount` field. - -You can configure: - * a default general discount on customers - * On each product define if general discount is applied diff --git a/sale_order_general_discount/readme/INSTALL.rst b/sale_order_general_discount/readme/INSTALL.md similarity index 85% rename from sale_order_general_discount/readme/INSTALL.rst rename to sale_order_general_discount/readme/INSTALL.md index 4da360f7c83..5e1d649b89c 100644 --- a/sale_order_general_discount/readme/INSTALL.rst +++ b/sale_order_general_discount/readme/INSTALL.md @@ -1 +1,2 @@ -You need to install sale_management module for accessing the needed menus. +You need to install sale_management module for accessing the needed +menus. diff --git a/sale_order_general_discount/readme/USAGE.md b/sale_order_general_discount/readme/USAGE.md new file mode 100644 index 00000000000..db909f04a1d --- /dev/null +++ b/sale_order_general_discount/readme/USAGE.md @@ -0,0 +1,7 @@ +To use this module, you need to: + +1. Create a sale order and set a discount, this discount will be set in + all lines. +2. You can set a discount in a partner. +3. On product you can define if you apply general discount on sale + order line linked to that product diff --git a/sale_order_general_discount/readme/USAGE.rst b/sale_order_general_discount/readme/USAGE.rst deleted file mode 100644 index 2c58d327897..00000000000 --- a/sale_order_general_discount/readme/USAGE.rst +++ /dev/null @@ -1,8 +0,0 @@ -To use this module, you need to: - -#. Create a sale order and set a discount, - this discount will be set in all lines. -#. You can set a discount in a partner. -#. On product you can define if you - apply general discount on sale order line - linked to that product diff --git a/sale_order_general_discount/static/description/index.html b/sale_order_general_discount/static/description/index.html index baa03fd4432..735a4787302 100644 --- a/sale_order_general_discount/static/description/index.html +++ b/sale_order_general_discount/static/description/index.html @@ -370,16 +370,14 @@

Sale Order General Discount

!! source digest: sha256:a4eeadfa3e2fc4ad9f54244dc002a32d12938c91207c4f729001730ca727a156 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

-

This module allows to set a general discount in a sales order. This general -discount is set to each line order in the standard discount field.

-
-
You can configure:
-
    +

    This module allows to set a general discount in a sales order. This +general discount is set to each line order in the standard discount +field.

    +

    You can configure:

    +
    • a default general discount on customers
    • On each product define if general discount is applied
    -
-

Table of contents

    @@ -396,18 +394,18 @@

    Sale Order General Discount

Installation

-

You need to install sale_management module for accessing the needed menus.

+

You need to install sale_management module for accessing the needed +menus.

Usage

To use this module, you need to:

    -
  1. Create a sale order and set a discount, -this discount will be set in all lines.
  2. +
  3. Create a sale order and set a discount, this discount will be set in +all lines.
  4. You can set a discount in a partner.
  5. -
  6. On product you can define if you -apply general discount on sale order line -linked to that product
  7. +
  8. On product you can define if you apply general discount on sale order +line linked to that product
diff --git a/sale_stock_picking_validation_blocking/README.rst b/sale_stock_picking_validation_blocking/README.rst index c5e1fa7e9b1..7ee0535e4d5 100644 --- a/sale_stock_picking_validation_blocking/README.rst +++ b/sale_stock_picking_validation_blocking/README.rst @@ -17,19 +17,21 @@ Sale Stock Picking Validation Blocking :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/sale-workflow/tree/13.0/sale_stock_picking_validation_blocking + :target: https://github.com/OCA/sale-workflow/tree/17.0/sale_stock_picking_validation_blocking :alt: OCA/sale-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_stock_picking_validation_blocking + :target: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_stock_picking_validation_blocking :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/sale-workflow&target_branch=13.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds the opportunity to prevent the validation of linked delivery orders from a sale order. -The delivery order is still created when the sale order is confirmed, therefore the stock is reserved but can not be send until approval. +This module adds the opportunity to prevent the validation of linked +delivery orders from a sale order. The delivery order is still created +when the sale order is confirmed, therefore the stock is reserved but +can not be send until approval. **Table of contents** @@ -41,15 +43,18 @@ Usage To block validation of stock picking from sale orders, you need to: -#. Open the form view of a sale order (in status Sale Order or Locked). -#. Click on the button Block Delivery Validation. -#. The delivery validation is now blocked, the Validate button will not appear on the related pickings. +1. Open the form view of a sale order (in status Sale Order or Locked). +2. Click on the button Block Delivery Validation. +3. The delivery validation is now blocked, the Validate button will not + appear on the related pickings. To unblock validation of stock picking from sale orders, you need to: -#. Open the form view of a "delivery validation blocked" sale order (in status Sale Order or Locked). -#. Click on the button Unblock Delivery Validation. -#. The delivery validation is not blocked anymore, the Validate button will appear on the related pickings. +1. Open the form view of a "delivery validation blocked" sale order (in + status Sale Order or Locked). +2. Click on the button Unblock Delivery Validation. +3. The delivery validation is not blocked anymore, the Validate button + will appear on the related pickings. Bug Tracker =========== @@ -57,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. @@ -65,17 +70,17 @@ Credits ======= Authors -~~~~~~~ +------- * ACSONE SA/NV Contributors -~~~~~~~~~~~~ +------------ -* Quentin Groulard +- Quentin Groulard Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -87,6 +92,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/sale-workflow `_ project on GitHub. +This module is part of the `OCA/sale-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_stock_picking_validation_blocking/models/sale_order.py b/sale_stock_picking_validation_blocking/models/sale_order.py index 7f57e94b139..dfc420cb5cd 100644 --- a/sale_stock_picking_validation_blocking/models/sale_order.py +++ b/sale_stock_picking_validation_blocking/models/sale_order.py @@ -5,7 +5,6 @@ class SaleOrder(models.Model): - _inherit = "sale.order" picking_validation_blocked = fields.Boolean( diff --git a/sale_stock_picking_validation_blocking/models/stock_picking.py b/sale_stock_picking_validation_blocking/models/stock_picking.py index cb8ac8413dd..70e8f37737c 100644 --- a/sale_stock_picking_validation_blocking/models/stock_picking.py +++ b/sale_stock_picking_validation_blocking/models/stock_picking.py @@ -6,7 +6,6 @@ class StockPicking(models.Model): - _inherit = "stock.picking" validation_blocked_by_so = fields.Boolean( diff --git a/sale_stock_picking_validation_blocking/pyproject.toml b/sale_stock_picking_validation_blocking/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/sale_stock_picking_validation_blocking/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/sale_stock_picking_validation_blocking/readme/CONTRIBUTORS.md b/sale_stock_picking_validation_blocking/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..01f3219a114 --- /dev/null +++ b/sale_stock_picking_validation_blocking/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Quentin Groulard \<\> diff --git a/sale_stock_picking_validation_blocking/readme/CONTRIBUTORS.rst b/sale_stock_picking_validation_blocking/readme/CONTRIBUTORS.rst deleted file mode 100644 index 5914f5529ef..00000000000 --- a/sale_stock_picking_validation_blocking/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1 +0,0 @@ -* Quentin Groulard diff --git a/sale_stock_picking_validation_blocking/readme/DESCRIPTION.md b/sale_stock_picking_validation_blocking/readme/DESCRIPTION.md new file mode 100644 index 00000000000..7ca85d56596 --- /dev/null +++ b/sale_stock_picking_validation_blocking/readme/DESCRIPTION.md @@ -0,0 +1,4 @@ +This module adds the opportunity to prevent the validation of linked +delivery orders from a sale order. The delivery order is still created +when the sale order is confirmed, therefore the stock is reserved but +can not be send until approval. diff --git a/sale_stock_picking_validation_blocking/readme/DESCRIPTION.rst b/sale_stock_picking_validation_blocking/readme/DESCRIPTION.rst deleted file mode 100644 index 06db660d52d..00000000000 --- a/sale_stock_picking_validation_blocking/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module adds the opportunity to prevent the validation of linked delivery orders from a sale order. -The delivery order is still created when the sale order is confirmed, therefore the stock is reserved but can not be send until approval. diff --git a/sale_stock_picking_validation_blocking/readme/USAGE.md b/sale_stock_picking_validation_blocking/readme/USAGE.md new file mode 100644 index 00000000000..85bf3715e80 --- /dev/null +++ b/sale_stock_picking_validation_blocking/readme/USAGE.md @@ -0,0 +1,14 @@ +To block validation of stock picking from sale orders, you need to: + +1. Open the form view of a sale order (in status Sale Order or Locked). +2. Click on the button Block Delivery Validation. +3. The delivery validation is now blocked, the Validate button will not + appear on the related pickings. + +To unblock validation of stock picking from sale orders, you need to: + +1. Open the form view of a "delivery validation blocked" sale order (in + status Sale Order or Locked). +2. Click on the button Unblock Delivery Validation. +3. The delivery validation is not blocked anymore, the Validate button + will appear on the related pickings. diff --git a/sale_stock_picking_validation_blocking/readme/USAGE.rst b/sale_stock_picking_validation_blocking/readme/USAGE.rst deleted file mode 100644 index 926ce0d1c3b..00000000000 --- a/sale_stock_picking_validation_blocking/readme/USAGE.rst +++ /dev/null @@ -1,11 +0,0 @@ -To block validation of stock picking from sale orders, you need to: - -#. Open the form view of a sale order (in status Sale Order or Locked). -#. Click on the button Block Delivery Validation. -#. The delivery validation is now blocked, the Validate button will not appear on the related pickings. - -To unblock validation of stock picking from sale orders, you need to: - -#. Open the form view of a "delivery validation blocked" sale order (in status Sale Order or Locked). -#. Click on the button Unblock Delivery Validation. -#. The delivery validation is not blocked anymore, the Validate button will appear on the related pickings. diff --git a/sale_stock_picking_validation_blocking/static/description/index.html b/sale_stock_picking_validation_blocking/static/description/index.html index f4606776111..8b81106f1b0 100644 --- a/sale_stock_picking_validation_blocking/static/description/index.html +++ b/sale_stock_picking_validation_blocking/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,9 +369,11 @@

Sale Stock Picking Validation Blocking

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:343c9cd796a930fc9ea44912fb913d685021f39974f0cb15f02bf6634edd9dff !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

-

This module adds the opportunity to prevent the validation of linked delivery orders from a sale order. -The delivery order is still created when the sale order is confirmed, therefore the stock is reserved but can not be send until approval.

+

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

+

This module adds the opportunity to prevent the validation of linked +delivery orders from a sale order. The delivery order is still created +when the sale order is confirmed, therefore the stock is reserved but +can not be send until approval.

Table of contents

    @@ -391,13 +393,16 @@

    Usage

    1. Open the form view of a sale order (in status Sale Order or Locked).
    2. Click on the button Block Delivery Validation.
    3. -
    4. The delivery validation is now blocked, the Validate button will not appear on the related pickings.
    5. +
    6. The delivery validation is now blocked, the Validate button will not +appear on the related pickings.

    To unblock validation of stock picking from sale orders, you need to:

      -
    1. Open the form view of a “delivery validation blocked” sale order (in status Sale Order or Locked).
    2. +
    3. Open the form view of a “delivery validation blocked” sale order (in +status Sale Order or Locked).
    4. Click on the button Unblock Delivery Validation.
    5. -
    6. The delivery validation is not blocked anymore, the Validate button will appear on the related pickings.
    7. +
    8. The delivery validation is not blocked anymore, the Validate button +will appear on the related pickings.
@@ -405,7 +410,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.

@@ -425,11 +430,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/sale-workflow project on GitHub.

+

This module is part of the OCA/sale-workflow project on GitHub.

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