diff --git a/hr_timesheet_editable_top/README.rst b/hr_timesheet_editable_top/README.rst new file mode 100644 index 000000000..91f059781 --- /dev/null +++ b/hr_timesheet_editable_top/README.rst @@ -0,0 +1,81 @@ +======================== +Timesheets - Edit on top +======================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ee5b5f77669919092588cd014241222d64dca3fe60401b4aa9c979da917c4c85 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/licence-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/17.0/hr_timesheet_editable_top + :alt: OCA/timesheet +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/timesheet-17-0/timesheet-17-0-hr_timesheet_editable_top + :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=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Add new timesheet entries on the top of the list instead of on the +bottom. This is useful when quickly adding new timesheet entries. + +**Table of contents** + +.. contents:: + :local: + +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 +------- + +* Coop IT Easy SC + +Contributors +------------ + +- `Coop IT Easy SC `__: + + - Victor Champonnois + +- Manuel Fombuena + +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. + +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/hr_timesheet_editable_top/__init__.py b/hr_timesheet_editable_top/__init__.py new file mode 100644 index 000000000..b409d3191 --- /dev/null +++ b/hr_timesheet_editable_top/__init__.py @@ -0,0 +1 @@ +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html diff --git a/hr_timesheet_editable_top/__manifest__.py b/hr_timesheet_editable_top/__manifest__.py new file mode 100644 index 000000000..03b36edff --- /dev/null +++ b/hr_timesheet_editable_top/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2015 Camptocamp SA - Guewen Baconnier +# Copyright 2017 Tecnativa, S.L. - Luis M. Ontalba +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +{ + "name": "Timesheets - Edit on top", + "summary": "Add new timesheet entries to the top of the list", + "version": "17.0.1.0.0", + "author": "Coop IT Easy SC, Odoo Community Association (OCA)", + "license": "AGPL-3", + "category": "Human Resources", + "depends": ["hr_timesheet"], + "website": "https://github.com/OCA/timesheet", + "data": ["views/hr_analytic_timesheet.xml"], +} diff --git a/hr_timesheet_editable_top/i18n/hr_timesheet_editable_top.pot b/hr_timesheet_editable_top/i18n/hr_timesheet_editable_top.pot new file mode 100644 index 000000000..716a0702d --- /dev/null +++ b/hr_timesheet_editable_top/i18n/hr_timesheet_editable_top.pot @@ -0,0 +1,13 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" diff --git a/hr_timesheet_editable_top/i18n/it.po b/hr_timesheet_editable_top/i18n/it.po new file mode 100644 index 000000000..8af45f7b8 --- /dev/null +++ b/hr_timesheet_editable_top/i18n/it.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" diff --git a/hr_timesheet_editable_top/pyproject.toml b/hr_timesheet_editable_top/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/hr_timesheet_editable_top/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/hr_timesheet_editable_top/readme/CONTRIBUTORS.md b/hr_timesheet_editable_top/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..3d277fc76 --- /dev/null +++ b/hr_timesheet_editable_top/readme/CONTRIBUTORS.md @@ -0,0 +1,4 @@ +- [Coop IT Easy SC](https://coopiteasy.be): + - Victor Champonnois + +- Manuel Fombuena diff --git a/hr_timesheet_editable_top/readme/DESCRIPTION.md b/hr_timesheet_editable_top/readme/DESCRIPTION.md new file mode 100644 index 000000000..de37d60df --- /dev/null +++ b/hr_timesheet_editable_top/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +Add new timesheet entries on the top of the list instead of on the +bottom. This is useful when quickly adding new timesheet entries. diff --git a/hr_timesheet_editable_top/static/description/icon.png b/hr_timesheet_editable_top/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/hr_timesheet_editable_top/static/description/icon.png differ diff --git a/hr_timesheet_editable_top/static/description/index.html b/hr_timesheet_editable_top/static/description/index.html new file mode 100644 index 000000000..68b4c3287 --- /dev/null +++ b/hr_timesheet_editable_top/static/description/index.html @@ -0,0 +1,427 @@ + + + + + +Timesheets - Edit on top + + + +
+

Timesheets - Edit on top

+ + +

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

+

Add new timesheet entries on the top of the list instead of on the +bottom. This is useful when quickly adding new timesheet entries.

+

Table of contents

+ +
+

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

+
    +
  • Coop IT Easy SC
  • +
+
+
+

Contributors

+ +
+
+

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.

+

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/hr_timesheet_editable_top/views/hr_analytic_timesheet.xml b/hr_timesheet_editable_top/views/hr_analytic_timesheet.xml new file mode 100644 index 000000000..448f56290 --- /dev/null +++ b/hr_timesheet_editable_top/views/hr_analytic_timesheet.xml @@ -0,0 +1,13 @@ + + + + hr.analytic.timesheet.tree + account.analytic.line + + + + top + + + +