diff --git a/sale_timesheet_time_control_begin_end/README.rst b/sale_timesheet_time_control_begin_end/README.rst new file mode 100644 index 000000000..966629d87 --- /dev/null +++ b/sale_timesheet_time_control_begin_end/README.rst @@ -0,0 +1,96 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +===================================== +Sale Timesheet Time Control begin/end +===================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:88440d9f14f597df22005052540292cdedeb9867955d3fbf909227a90335d53f + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github + :target: https://github.com/OCA/timesheet/tree/19.0/sale_timesheet_time_control_begin_end + :alt: OCA/timesheet +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/timesheet-19-0/timesheet-19-0-sale_timesheet_time_control_begin_end + :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/timesheet&target_branch=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module extends the portal timesheet view provided by +``sale_timesheet`` to properly support begin and end time information in +grouped views. + +It adjusts the table layout (colspan values) in the portal template to +ensure correct rendering when begin/end times are displayed. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +Install this module to enable proper display of begin/end times in the +customer portal timesheet view when using sale timesheet integration. + +No further configuration is required after installation. + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* NICO SOLUTIONS - ENGINEERING & IT + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +.. |maintainer-NICO-SOLUTIONS| image:: https://github.com/NICO-SOLUTIONS.png?size=40px + :target: https://github.com/NICO-SOLUTIONS + :alt: NICO-SOLUTIONS + +Current `maintainer `__: + +|maintainer-NICO-SOLUTIONS| + +This module is part of the `OCA/timesheet `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_timesheet_time_control_begin_end/__init__.py b/sale_timesheet_time_control_begin_end/__init__.py new file mode 100644 index 000000000..b409d3191 --- /dev/null +++ b/sale_timesheet_time_control_begin_end/__init__.py @@ -0,0 +1 @@ +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html diff --git a/sale_timesheet_time_control_begin_end/__manifest__.py b/sale_timesheet_time_control_begin_end/__manifest__.py new file mode 100644 index 000000000..224685986 --- /dev/null +++ b/sale_timesheet_time_control_begin_end/__manifest__.py @@ -0,0 +1,19 @@ +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +{ + "name": "Sale Timesheet Time Control begin/end", + "version": "19.0.1.0.1", + "category": "Project", + "author": "NICO SOLUTIONS - ENGINEERING & IT, Odoo Community Association (OCA)", + "maintainers": ["NICO-SOLUTIONS"], + "website": "https://github.com/OCA/timesheet", + "depends": [ + "sale_timesheet", + "hr_timesheet_time_control_begin_end", + ], + "data": [ + "views/hr_timesheet_portal_templates.xml", + ], + "license": "AGPL-3", + "installable": True, +} diff --git a/sale_timesheet_time_control_begin_end/pyproject.toml b/sale_timesheet_time_control_begin_end/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/sale_timesheet_time_control_begin_end/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/sale_timesheet_time_control_begin_end/readme/DESCRIPTION.md b/sale_timesheet_time_control_begin_end/readme/DESCRIPTION.md new file mode 100644 index 000000000..414ca0f66 --- /dev/null +++ b/sale_timesheet_time_control_begin_end/readme/DESCRIPTION.md @@ -0,0 +1,5 @@ +This module extends the portal timesheet view provided by ``sale_timesheet`` +to properly support begin and end time information in grouped views. + +It adjusts the table layout (colspan values) in the portal template to ensure +correct rendering when begin/end times are displayed. diff --git a/sale_timesheet_time_control_begin_end/readme/USAGE.md b/sale_timesheet_time_control_begin_end/readme/USAGE.md new file mode 100644 index 000000000..fa2690eb7 --- /dev/null +++ b/sale_timesheet_time_control_begin_end/readme/USAGE.md @@ -0,0 +1,4 @@ +Install this module to enable proper display of begin/end times in the +customer portal timesheet view when using sale timesheet integration. + +No further configuration is required after installation. diff --git a/sale_timesheet_time_control_begin_end/static/description/icon.png b/sale_timesheet_time_control_begin_end/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/sale_timesheet_time_control_begin_end/static/description/icon.png differ diff --git a/sale_timesheet_time_control_begin_end/static/description/index.html b/sale_timesheet_time_control_begin_end/static/description/index.html new file mode 100644 index 000000000..89d729dab --- /dev/null +++ b/sale_timesheet_time_control_begin_end/static/description/index.html @@ -0,0 +1,430 @@ + + + + + +README.rst + + + +
+ + +Odoo Community Association +
+

Sale Timesheet Time Control begin/end

+ +

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

+

This module extends the portal timesheet view provided by +sale_timesheet to properly support begin and end time information in +grouped views.

+

It adjusts the table layout (colspan values) in the portal template to +ensure correct rendering when begin/end times are displayed.

+

Table of contents

+ +
+

Usage

+

Install this module to enable proper display of begin/end times in the +customer portal timesheet view when using sale timesheet integration.

+

No further configuration is required after installation.

+
+
+

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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • NICO SOLUTIONS - ENGINEERING & IT
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+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.

+

Current maintainer:

+

NICO-SOLUTIONS

+

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

+

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

+
+
+
+
+ + diff --git a/sale_timesheet_time_control_begin_end/views/hr_timesheet_portal_templates.xml b/sale_timesheet_time_control_begin_end/views/hr_timesheet_portal_templates.xml new file mode 100644 index 000000000..a28e4ccba --- /dev/null +++ b/sale_timesheet_time_control_begin_end/views/hr_timesheet_portal_templates.xml @@ -0,0 +1,30 @@ + + + + + diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 000000000..e59474e12 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1 @@ +odoo-addon-hr_timesheet_time_control_begin_end @ git+https://github.com/OCA/timesheet.git@refs/pull/905/head#subdirectory=hr_timesheet_time_control_begin_end