Skip to content

Commit

Permalink
[ADD] web_widget_date_more_filters: New module
Browse files Browse the repository at this point in the history
Add new entries to date filter:

- Today
- Yesterday
- This week
- Last 7 days
- Last 30 days
- Last 365 days
  • Loading branch information
Elise Gigot committed Nov 20, 2024
1 parent ebf9861 commit 2923175
Show file tree
Hide file tree
Showing 6 changed files with 481 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup/web_widget_date_more_filters/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
Empty file.
18 changes: 18 additions & 0 deletions web_widget_date_more_filters/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright OpenStudio 2024
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Web date widget more filters",
"category": "web",
"version": "16.0.1.0.0",
"website": "https://github.com/OCA/web",
"author": "Elise Gigot <[email protected]>",
"depends": ["web", "hr_timesheet"],
"summary": "Add some filters to the date filters wdidget",
"license": "AGPL-3",
"installable": True,
"assets": {
"web.assets_backend": [
"web_widget_date_more_filters/static/src/js/web_widget_date_more_filters.js",
],
},
}
66 changes: 66 additions & 0 deletions web_widget_date_more_filters/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * hr_timesheet_custom_date_filter

#. module: hr_timesheet_custom_date_filter
#. odoo-javascript
#: code:addons/static/src/js/hr_timesheet_custom_date_filter.js:0
#, python-format
msgid "Today"
msgstr "Aujourd'hui"

#. module: hr_timesheet_custom_date_filter
#. odoo-javascript
#: code:addons/static/src/js/hr_timesheet_custom_date_filter.js:0
#, python-format
msgid "Yesterday"
msgstr "Hier"

#. module: hr_timesheet_custom_date_filter
#. odoo-javascript
#: code:addons/static/src/js/hr_timesheet_custom_date_filter.js:0
#, python-format
msgid "This week"
msgstr "Cette semaine"

#. module: hr_timesheet_custom_date_filter
#. odoo-javascript
#: code:addons/static/src/js/hr_timesheet_custom_date_filter.js:0
#, python-format
msgid "Last 7 days"
msgstr "7 derniers jours"

#. module: hr_timesheet_custom_date_filter
#. odoo-javascript
#: code:addons/static/src/js/hr_timesheet_custom_date_filter.js:0
#, python-format
msgid "Last 30 days"
msgstr "30 derniers jours"

#. module: hr_timesheet_custom_date_filter
#. odoo-javascript
#: code:addons/static/src/js/hr_timesheet_custom_date_filter.js:0
#, python-format
msgid "Last 365 days"
msgstr "365 derniers jours"

#. module: hr_timesheet_custom_date_filter
#. odoo-javascript
#: code:addons/static/src/js/hr_timesheet_custom_date_filter.js:0
#, python-format
msgid "From Date"
msgstr "À partir du"

#. module: hr_timesheet_custom_date_filter
#. odoo-javascript
#: code:addons/static/src/js/hr_timesheet_custom_date_filter.js:0
#, python-format
msgid "Until"
msgstr "Jusqu'au"

#. module: hr_timesheet_custom_date_filter
#. odoo-javascript
#: code:addons/static/src/js/hr_timesheet_custom_date_filter.js:0
#, python-format
msgid "Week"
msgstr "Semaine"
Loading

0 comments on commit 2923175

Please sign in to comment.