From 2015de5c5021d2c3691ee16726a2c63c79486899 Mon Sep 17 00:00:00 2001 From: Anxo82 Date: Wed, 12 Jun 2024 10:13:54 +0200 Subject: [PATCH] [IMP] maintenance_project:pre-commit auto fixes --- maintenance_project/README.rst | 31 +++++++++++-------- maintenance_project/pyproject.toml | 3 ++ maintenance_project/readme/CONTRIBUTORS.md | 1 + maintenance_project/readme/CONTRIBUTORS.rst | 1 - maintenance_project/readme/DESCRIPTION.md | 11 +++++++ maintenance_project/readme/DESCRIPTION.rst | 6 ---- .../static/description/index.html | 31 ++++++++++++------- 7 files changed, 52 insertions(+), 32 deletions(-) create mode 100644 maintenance_project/pyproject.toml create mode 100644 maintenance_project/readme/CONTRIBUTORS.md delete mode 100644 maintenance_project/readme/CONTRIBUTORS.rst create mode 100644 maintenance_project/readme/DESCRIPTION.md delete mode 100644 maintenance_project/readme/DESCRIPTION.rst diff --git a/maintenance_project/README.rst b/maintenance_project/README.rst index 32a2fb9d3..48b00297f 100644 --- a/maintenance_project/README.rst +++ b/maintenance_project/README.rst @@ -17,23 +17,28 @@ Maintenance Projects :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github - :target: https://github.com/OCA/maintenance/tree/16.0/maintenance_project + :target: https://github.com/OCA/maintenance/tree/17.0/maintenance_project :alt: OCA/maintenance .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/maintenance-16-0/maintenance-16-0-maintenance_project + :target: https://translation.odoo-community.org/projects/maintenance-17-0/maintenance-17-0-maintenance_project :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/maintenance&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module extends the functionality of Odoo Maintenance module adding this features: +This module extends the functionality of Odoo Maintenance module adding +this features: -- Adds a project to an equipment. The project can be automatically created from the equipment definition. -- Adds project and task to a maintenance request. The default project for a request will be the equipment one, including the preventive requests periodically created. +- Adds a project to an equipment. The project can be automatically + created from the equipment definition. +- Adds project and task to a maintenance request. The default project + for a request will be the equipment one, including the preventive + requests periodically created. -This is is a technical addon to allow timesheet assignment to a maintenance request. +This is is a technical addon to allow timesheet assignment to a +maintenance request. **Table of contents** @@ -46,7 +51,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. @@ -54,17 +59,17 @@ Credits ======= Authors -~~~~~~~ +------- * Solvos Contributors -~~~~~~~~~~~~ +------------ -* David Alonso +- David Alonso Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -76,6 +81,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/maintenance `_ project on GitHub. +This module is part of the `OCA/maintenance `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/maintenance_project/pyproject.toml b/maintenance_project/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/maintenance_project/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/maintenance_project/readme/CONTRIBUTORS.md b/maintenance_project/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..a018cb721 --- /dev/null +++ b/maintenance_project/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- David Alonso \<\> diff --git a/maintenance_project/readme/CONTRIBUTORS.rst b/maintenance_project/readme/CONTRIBUTORS.rst deleted file mode 100644 index 423455dfe..000000000 --- a/maintenance_project/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1 +0,0 @@ -* David Alonso diff --git a/maintenance_project/readme/DESCRIPTION.md b/maintenance_project/readme/DESCRIPTION.md new file mode 100644 index 000000000..0241f0a55 --- /dev/null +++ b/maintenance_project/readme/DESCRIPTION.md @@ -0,0 +1,11 @@ +This module extends the functionality of Odoo Maintenance module adding +this features: + +- Adds a project to an equipment. The project can be automatically + created from the equipment definition. +- Adds project and task to a maintenance request. The default project + for a request will be the equipment one, including the preventive + requests periodically created. + +This is is a technical addon to allow timesheet assignment to a +maintenance request. diff --git a/maintenance_project/readme/DESCRIPTION.rst b/maintenance_project/readme/DESCRIPTION.rst deleted file mode 100644 index 060abd8f9..000000000 --- a/maintenance_project/readme/DESCRIPTION.rst +++ /dev/null @@ -1,6 +0,0 @@ -This module extends the functionality of Odoo Maintenance module adding this features: - -- Adds a project to an equipment. The project can be automatically created from the equipment definition. -- Adds project and task to a maintenance request. The default project for a request will be the equipment one, including the preventive requests periodically created. - -This is is a technical addon to allow timesheet assignment to a maintenance request. diff --git a/maintenance_project/static/description/index.html b/maintenance_project/static/description/index.html index e52cd904f..274e7c8c2 100644 --- a/maintenance_project/static/description/index.html +++ b/maintenance_project/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,13 +369,18 @@

Maintenance Projects

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:3944d0553cc33d2901bb5c8bda9160ef108a2a8f193aa4b57ae169600185a2f5 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

This module extends the functionality of Odoo Maintenance module adding this features:

+

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

+

This module extends the functionality of Odoo Maintenance module adding +this features:

    -
  • Adds a project to an equipment. The project can be automatically created from the equipment definition.
  • -
  • Adds project and task to a maintenance request. The default project for a request will be the equipment one, including the preventive requests periodically created.
  • +
  • Adds a project to an equipment. The project can be automatically +created from the equipment definition.
  • +
  • Adds project and task to a maintenance request. The default project +for a request will be the equipment one, including the preventive +requests periodically created.
-

This is is a technical addon to allow timesheet assignment to a maintenance request.

+

This is is a technical addon to allow timesheet assignment to a +maintenance request.

Table of contents

    @@ -393,7 +398,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 +418,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/maintenance project on GitHub.

+

This module is part of the OCA/maintenance project on GitHub.

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