diff --git a/.eslintrc.yml b/.eslintrc.yml index 9429bc688a..fed88d70d2 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -22,6 +22,7 @@ globals: odoo: readonly openerp: readonly owl: readonly + luxon: readonly # Styling is handled by Prettier, so we only need to enable AST rules; # see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890 diff --git a/.gitignore b/.gitignore index 9c283fd41f..0090721f5d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ __pycache__/ *.py[cod] /.venv /.pytest_cache +/.ruff_cache # C extensions *.so diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index afdbf942c5..3d992eb5e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,6 +45,11 @@ repos: - id: oca-update-pre-commit-excluded-addons - id: oca-fix-manifest-website args: ["https://github.com/avanzosc/odoo-addons"] + - repo: https://github.com/OCA/odoo-pre-commit-hooks + rev: v0.0.25 + hooks: + - id: oca-checks-odoo-module + - id: oca-checks-po - repo: https://github.com/myint/autoflake rev: v2.3.1 hooks: diff --git a/account_asset_line_menu/views/account_asset_line_views.xml b/account_asset_line_menu/views/account_asset_line_views.xml index f66422ef51..7b59811cea 100644 --- a/account_asset_line_menu/views/account_asset_line_views.xml +++ b/account_asset_line_menu/views/account_asset_line_views.xml @@ -5,7 +5,6 @@ account.asset.line diff --git a/account_invoice_product_customer_code/report/account_invoice_report.xml b/account_invoice_product_customer_code/report/account_invoice_report.xml index 094e3ff073..ae1fc41f8e 100644 --- a/account_invoice_product_customer_code/report/account_invoice_report.xml +++ b/account_invoice_product_customer_code/report/account_invoice_report.xml @@ -1,6 +1,10 @@ -