From ff38d0089dbcafe76803f005c74678fb5d931ae1 Mon Sep 17 00:00:00 2001
From: chaule97
Date: Thu, 28 Nov 2024 09:58:37 +0700
Subject: [PATCH] [IMP] sale_automatic_workflow: pre-commit auto fixes
---
sale_automatic_workflow/README.rst | 10 +--
.../static/description/index.html | 6 +-
.../views/sale_workflow_process_views.xml | 70 +++++++++----------
3 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/sale_automatic_workflow/README.rst b/sale_automatic_workflow/README.rst
index 1d24d42fbfb..061d82fc8c5 100644
--- a/sale_automatic_workflow/README.rst
+++ b/sale_automatic_workflow/README.rst
@@ -17,13 +17,13 @@ Sale Automatic Workflow
: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/17.0/sale_automatic_workflow
+ :target: https://github.com/OCA/sale-workflow/tree/18.0/sale_automatic_workflow
: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-17-0/sale-workflow-17-0-sale_automatic_workflow
+ :target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_automatic_workflow
: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=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -62,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.
@@ -113,6 +113,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_automatic_workflow/static/description/index.html b/sale_automatic_workflow/static/description/index.html
index c5312a41372..c41e3f26000 100644
--- a/sale_automatic_workflow/static/description/index.html
+++ b/sale_automatic_workflow/static/description/index.html
@@ -369,7 +369,7 @@ Sale Automatic Workflow
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a5f8fe6b461d972d0aa8938d069a08e809557a004c9d49cea520cb83fe5b2d2b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

Create workflows with more or less automatization and apply it on sales
orders.
A workflow can:
@@ -410,7 +410,7 @@
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.
@@ -457,7 +457,7 @@
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_automatic_workflow/views/sale_workflow_process_views.xml b/sale_automatic_workflow/views/sale_workflow_process_views.xml
index 50e246d4787..413c33e2e6b 100644
--- a/sale_automatic_workflow/views/sale_workflow_process_views.xml
+++ b/sale_automatic_workflow/views/sale_workflow_process_views.xml
@@ -61,13 +61,13 @@
Set selection based on a search filter:
+ name="order_filter_id"
+ domain="[('model_id', '=', 'sale.order')]"
+ class="oe_inline"
+ context="{'default_model_id': 'sale.order', 'default_active': False, 'active_test': False}"
+ can_create="true"
+ can_write="true"
+ />
@@ -111,13 +111,13 @@
Set selection based on a search filter:
+ name="create_invoice_filter_id"
+ domain="[('model_id', '=', 'sale.order')]"
+ class="oe_inline"
+ context="{'default_model_id': 'sale.order', 'default_active': False, 'active_test': False}"
+ can_create="true"
+ can_write="true"
+ />
@@ -149,13 +149,13 @@
Set selection based on a search filter:
+ name="validate_invoice_filter_id"
+ domain="[('model_id', '=', 'account.move')]"
+ class="oe_inline"
+ context="{'default_model_id': 'account.move', 'default_active': False, 'active_test': False}"
+ can_create="true"
+ can_write="true"
+ />
@@ -187,13 +187,13 @@
Set selection based on a search filter:
+ name="payment_filter_id"
+ domain="[('model_id', '=', 'account.move')]"
+ class="oe_inline"
+ context="{'default_model_id': 'account.move', 'default_active': False, 'active_test': False}"
+ can_create="true"
+ can_write="true"
+ />
@@ -219,13 +219,13 @@
Set selection based on a search filter:
+ name="sale_done_filter_id"
+ domain="[('model_id', '=', 'sale.order')]"
+ class="oe_inline"
+ context="{'default_model_id': 'sale.order', 'default_active': False, 'active_test': False}"
+ can_create="true"
+ can_write="true"
+ />