From 41b4783e60a2a0137ee6ceaf03bd7bbb4f3d0e7a Mon Sep 17 00:00:00 2001 From: aphon61bank Date: Wed, 10 Feb 2021 13:08:53 +0700 Subject: [PATCH] [14.0][MIG] sale_tier_validation --- sale_tier_validation/README.rst | 12 +-- sale_tier_validation/__manifest__.py | 2 +- sale_tier_validation/models/sale_order.py | 2 + sale_tier_validation/readme/CONTRIBUTORS.rst | 2 + .../static/description/index.html | 9 ++- .../views/sale_order_view.xml | 80 ------------------- .../odoo/addons/sale_tier_validation | 1 + setup/sale_tier_validation/setup.py | 6 ++ 8 files changed, 24 insertions(+), 90 deletions(-) create mode 120000 setup/sale_tier_validation/odoo/addons/sale_tier_validation create mode 100644 setup/sale_tier_validation/setup.py diff --git a/sale_tier_validation/README.rst b/sale_tier_validation/README.rst index 13d2815ff5b..4404060a489 100644 --- a/sale_tier_validation/README.rst +++ b/sale_tier_validation/README.rst @@ -14,13 +14,13 @@ Sale Tier Validation :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_tier_validation + :target: https://github.com/OCA/sale-workflow/tree/14.0/sale_tier_validation :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_tier_validation + :target: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_tier_validation :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/167/13.0 + :target: https://runbot.odoo-community.org/runbot/167/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -71,7 +71,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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -92,6 +92,8 @@ Contributors * Sergio Teruel +* Tharathip Chaweewongphan + Maintainers ~~~~~~~~~~~ @@ -105,6 +107,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_tier_validation/__manifest__.py b/sale_tier_validation/__manifest__.py index 10af6908082..d31f4c23b12 100644 --- a/sale_tier_validation/__manifest__.py +++ b/sale_tier_validation/__manifest__.py @@ -4,7 +4,7 @@ "name": "Sale Tier Validation", "summary": "Extends the functionality of Sale Orders to " "support a tier validation process.", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Sale", "website": "https://github.com/OCA/sale-workflow", "author": "Open Source Integrators, Odoo Community Association (OCA)", diff --git a/sale_tier_validation/models/sale_order.py b/sale_tier_validation/models/sale_order.py index 428e1bbdca5..d9c46330188 100644 --- a/sale_tier_validation/models/sale_order.py +++ b/sale_tier_validation/models/sale_order.py @@ -9,3 +9,5 @@ class SaleOrder(models.Model): _inherit = ["sale.order", "tier.validation"] _state_from = ["draft", "sent", "to approve"] _state_to = ["sale", "approved"] + + _tier_validation_manual_config = False diff --git a/sale_tier_validation/readme/CONTRIBUTORS.rst b/sale_tier_validation/readme/CONTRIBUTORS.rst index 39113c1d86e..b6f5d88fea4 100644 --- a/sale_tier_validation/readme/CONTRIBUTORS.rst +++ b/sale_tier_validation/readme/CONTRIBUTORS.rst @@ -3,3 +3,5 @@ * `Tecnativa `__: * Sergio Teruel + +* Tharathip Chaweewongphan diff --git a/sale_tier_validation/static/description/index.html b/sale_tier_validation/static/description/index.html index 6e533dd3019..2849ab86fa2 100644 --- a/sale_tier_validation/static/description/index.html +++ b/sale_tier_validation/static/description/index.html @@ -3,7 +3,7 @@ - + Sale Tier Validation