From 4800033052f2c4f113126cc16e9b5c3736ad87e9 Mon Sep 17 00:00:00 2001 From: sowrirajan Date: Tue, 17 Sep 2024 12:54:30 +0530 Subject: [PATCH] [IMP] stock_picking_start: pre-commit auto fixes --- stock_picking_start/README.rst | 32 +++++++++---------- stock_picking_start/models/res_company.py | 1 - .../models/res_config_settings.py | 1 - stock_picking_start/models/stock_picking.py | 1 - stock_picking_start/pyproject.toml | 3 ++ stock_picking_start/readme/CONTRIBUTORS.md | 1 + stock_picking_start/readme/CONTRIBUTORS.rst | 1 - stock_picking_start/readme/DESCRIPTION.md | 9 ++++++ stock_picking_start/readme/DESCRIPTION.rst | 9 ------ .../static/description/index.html | 31 ++++++++++-------- 10 files changed, 46 insertions(+), 43 deletions(-) create mode 100644 stock_picking_start/pyproject.toml create mode 100644 stock_picking_start/readme/CONTRIBUTORS.md delete mode 100644 stock_picking_start/readme/CONTRIBUTORS.rst create mode 100644 stock_picking_start/readme/DESCRIPTION.md delete mode 100644 stock_picking_start/readme/DESCRIPTION.rst diff --git a/stock_picking_start/README.rst b/stock_picking_start/README.rst index ff94b09e8ba8..427bdedda080 100644 --- a/stock_picking_start/README.rst +++ b/stock_picking_start/README.rst @@ -17,26 +17,26 @@ Stock Picking Start :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_picking_start + :target: https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_start :alt: OCA/stock-logistics-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_start + :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_picking_start :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/stock-logistics-workflow&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module add a "Start" button on the picking form view. -This button will start the picking process by setting the "printed" field to True. +This module add a "Start" button on the picking form view. This button +will start the picking process by setting the "printed" field to True. -By setting the "printed" field to True, we prevent the system to add new moves -to the picking. +By setting the "printed" field to True, we prevent the system to add new +moves to the picking. -Optionally, you can also delay the assignation of the picking's responsible -by setting the "Assign responsible at stock picking start" option to True into -the stock settings. +Optionally, you can also delay the assignation of the picking's +responsible by setting the "Assign responsible at stock picking start" +option to True into the stock settings. **Table of contents** @@ -49,7 +49,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. @@ -57,17 +57,17 @@ Credits ======= Authors -~~~~~~~ +------- * ACSONE SA/NV Contributors -~~~~~~~~~~~~ +------------ -* Laurent Mignon +- Laurent Mignon Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -79,6 +79,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/stock-logistics-workflow `_ project on GitHub. +This module is part of the `OCA/stock-logistics-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_picking_start/models/res_company.py b/stock_picking_start/models/res_company.py index d9cad49c5bde..99b7a1066f7d 100644 --- a/stock_picking_start/models/res_company.py +++ b/stock_picking_start/models/res_company.py @@ -5,7 +5,6 @@ class ResCompany(models.Model): - _inherit = "res.company" stock_picking_assign_operator_at_start = fields.Boolean( diff --git a/stock_picking_start/models/res_config_settings.py b/stock_picking_start/models/res_config_settings.py index dad72d202cd9..969dd823d4ac 100644 --- a/stock_picking_start/models/res_config_settings.py +++ b/stock_picking_start/models/res_config_settings.py @@ -5,7 +5,6 @@ class ResConfigSettings(models.TransientModel): - _inherit = "res.config.settings" stock_picking_assign_operator_at_start = fields.Boolean( diff --git a/stock_picking_start/models/stock_picking.py b/stock_picking_start/models/stock_picking.py index 80eacafc6f27..33d777de302b 100644 --- a/stock_picking_start/models/stock_picking.py +++ b/stock_picking_start/models/stock_picking.py @@ -7,7 +7,6 @@ class StockPicking(models.Model): - _inherit = "stock.picking" user_id = fields.Many2one( diff --git a/stock_picking_start/pyproject.toml b/stock_picking_start/pyproject.toml new file mode 100644 index 000000000000..4231d0cccb3d --- /dev/null +++ b/stock_picking_start/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/stock_picking_start/readme/CONTRIBUTORS.md b/stock_picking_start/readme/CONTRIBUTORS.md new file mode 100644 index 000000000000..f2af9193ceae --- /dev/null +++ b/stock_picking_start/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Laurent Mignon \<\> diff --git a/stock_picking_start/readme/CONTRIBUTORS.rst b/stock_picking_start/readme/CONTRIBUTORS.rst deleted file mode 100644 index 172b2d223cef..000000000000 --- a/stock_picking_start/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1 +0,0 @@ -* Laurent Mignon diff --git a/stock_picking_start/readme/DESCRIPTION.md b/stock_picking_start/readme/DESCRIPTION.md new file mode 100644 index 000000000000..ff704365f9a5 --- /dev/null +++ b/stock_picking_start/readme/DESCRIPTION.md @@ -0,0 +1,9 @@ +This module add a "Start" button on the picking form view. This button +will start the picking process by setting the "printed" field to True. + +By setting the "printed" field to True, we prevent the system to add new +moves to the picking. + +Optionally, you can also delay the assignation of the picking's +responsible by setting the "Assign responsible at stock picking start" +option to True into the stock settings. diff --git a/stock_picking_start/readme/DESCRIPTION.rst b/stock_picking_start/readme/DESCRIPTION.rst deleted file mode 100644 index bbc95a350793..000000000000 --- a/stock_picking_start/readme/DESCRIPTION.rst +++ /dev/null @@ -1,9 +0,0 @@ -This module add a "Start" button on the picking form view. -This button will start the picking process by setting the "printed" field to True. - -By setting the "printed" field to True, we prevent the system to add new moves -to the picking. - -Optionally, you can also delay the assignation of the picking's responsible -by setting the "Assign responsible at stock picking start" option to True into -the stock settings. diff --git a/stock_picking_start/static/description/index.html b/stock_picking_start/static/description/index.html index ac80e0d46920..c72d563170e3 100644 --- a/stock_picking_start/static/description/index.html +++ b/stock_picking_start/static/description/index.html @@ -8,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. @@ -274,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 } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -368,14 +369,14 @@

Stock Picking Start

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:18aa08fafb6c1cb19e7c147e78583f523773da02a8e870f34c83a3ef1e616b37 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/stock-logistics-workflow Translate me on Weblate Try me on Runboat

-

This module add a “Start” button on the picking form view. -This button will start the picking process by setting the “printed” field to True.

-

By setting the “printed” field to True, we prevent the system to add new moves -to the picking.

-

Optionally, you can also delay the assignation of the picking’s responsible -by setting the “Assign responsible at stock picking start” option to True into -the stock settings.

+

Beta License: LGPL-3 OCA/stock-logistics-workflow Translate me on Weblate Try me on Runboat

+

This module add a “Start” button on the picking form view. This button +will start the picking process by setting the “printed” field to True.

+

By setting the “printed” field to True, we prevent the system to add new +moves to the picking.

+

Optionally, you can also delay the assignation of the picking’s +responsible by setting the “Assign responsible at stock picking start” +option to True into the stock settings.

Table of contents

    @@ -393,7 +394,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.

@@ -413,11 +414,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/stock-logistics-workflow project on GitHub.

+

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

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