Skip to content
Snippets Groups Projects
Commit eb17399e authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[MIG] version 17.0

parent 2f9685d2
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ env: ...@@ -4,7 +4,7 @@ env:
# See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449 # See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449
parserOptions: parserOptions:
ecmaVersion: 2019 ecmaVersion: 2022
overrides: overrides:
- files: - files:
......
...@@ -26,6 +26,15 @@ var/ ...@@ -26,6 +26,15 @@ var/
*.eggs *.eggs
.copier-answers.yml .copier-answers.yml
# Debian packages
*.deb
# Redhat packages
*.rpm
# MacOS packages
*.dmg
# Installer logs # Installer logs
pip-log.txt pip-log.txt
pip-delete-this-directory.txt pip-delete-this-directory.txt
......
...@@ -16,6 +16,8 @@ exclude: | ...@@ -16,6 +16,8 @@ exclude: |
readme/.*\.(rst|md)$| readme/.*\.(rst|md)$|
# Ignore build and dist directories in addons # Ignore build and dist directories in addons
/build/|/dist/| /build/|/dist/|
# Ignore test files in addons
/tests/samples/.*|
# You don't usually want a bot to modify your legal texts # You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*) (LICENSE.*|COPYING.*)
default_language_version: default_language_version:
...@@ -35,9 +37,14 @@ repos: ...@@ -35,9 +37,14 @@ repos:
name: en.po files cannot exist name: en.po files cannot exist
entry: found a en.po file entry: found a en.po file
language: fail language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$' files:
'[a-zA-Z0-9_]*/i18n/en\.po$'
# - repo: https://github.com/sbidoul/whool
# rev: v0.5
# hooks:
# - id: whool-init
- repo: https://github.com/oca/maintainer-tools - repo: https://github.com/oca/maintainer-tools
rev: f71041f22b8cd68cf7c77b73a14ca8d8cd190a60 rev: d5fab7ee87fceee858a3d01048c78a548974d935
hooks: hooks:
# update the NOT INSTALLABLE ADDONS section above # update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons - id: oca-update-pre-commit-excluded-addons
...@@ -46,11 +53,13 @@ repos: ...@@ -46,11 +53,13 @@ repos:
- id: oca-gen-addon-readme - id: oca-gen-addon-readme
args: args:
- --addons-dir=. - --addons-dir=.
- --branch=16.0 - --branch=17.0
- --org-name=lefilament - --org-name=lefilament
- --repo-name=template_module - --repo-name=template_module
- --if-source-changed - --if-source-changed
- --keep-source-digest - --keep-source-digest
- --convert-fragments-to-markdown
# - id: oca-gen-external-dependencies
- repo: https://github.com/OCA/odoo-pre-commit-hooks - repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.0.25 rev: v0.0.25
hooks: hooks:
...@@ -104,7 +113,7 @@ repos: ...@@ -104,7 +113,7 @@ repos:
args: [--fix, --exit-non-zero-on-fix] args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format - id: ruff-format
- repo: https://github.com/OCA/pylint-odoo - repo: https://github.com/OCA/pylint-odoo
rev: v8.0.19 rev: v9.0.4
hooks: hooks:
- id: pylint_odoo - id: pylint_odoo
name: pylint with optional checks name: pylint with optional checks
......
...@@ -5,12 +5,12 @@ load-plugins=pylint_odoo ...@@ -5,12 +5,12 @@ load-plugins=pylint_odoo
score=n score=n
[ODOOLINT] [ODOOLINT]
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst" readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest_required_authors=Le Filament manifest-required-authors=Le Filament
manifest_required_keys=license manifest-required-keys=license
manifest_deprecated_keys=description,active manifest-deprecated-keys=description,active
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid_odoo_versions=16.0 valid-odoo-versions=17.0
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable=all disable=all
......
...@@ -9,7 +9,7 @@ manifest-required-authors=Le Filament ...@@ -9,7 +9,7 @@ manifest-required-authors=Le Filament
manifest-required-keys=license manifest-required-keys=license
manifest-deprecated-keys=description,active manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid-odoo-versions=16.0 valid-odoo-versions=17.0
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable=all disable=all
......
...@@ -11,6 +11,7 @@ Description ...@@ -11,6 +11,7 @@ Description
=========== ===========
This module depends upon *hr_timesheet* and disallow project and task creation from timesheet. This module depends upon *hr_timesheet* and disallow project and task creation from timesheet.
Also, timesheet creation is made from top of tree view instead of bottom by default.
Credits Credits
......
# © 2020 Le Filament (<https://www.le-filament.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
# Copyright 2021-2022 Le Filament (https://le-filament.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{ {
"name": "HR Timesheet no create", "name": "HR Timesheet no create",
"version": "16.0.1.0.0", "version": "17.0.1.0.0",
"author": "Le Filament", "author": "Le Filament",
"category": "Services/Timesheets", "category": "Services/Timesheets",
"summary": "Disallow project and task creation from timesheet", "summary": "Disallow project and task creation from timesheet",
...@@ -14,6 +11,7 @@ ...@@ -14,6 +11,7 @@
"data": [ "data": [
"views/hr_timesheet_view.xml", "views/hr_timesheet_view.xml",
], ],
"website": "https://le-filament.com",
"demo": [], "demo": [],
"installable": True, "installable": True,
} }
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!-- Copyright 2020-2022 Le Filament (https://le-filament.com) <!-- Copyright 2020- Le Filament (https://le-filament.com)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo> <odoo>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment