From ee19af1587ce02b83292b2861e66b96a7c57548b Mon Sep 17 00:00:00 2001 From: Alessandro Uffreduzzi Date: Mon, 30 Oct 2023 17:01:22 +0100 Subject: [PATCH] [FIX] all: fix pre-commit new checks --- .github/workflows/pre-commit.yml | 7 - .github/workflows/stale.yml.rej | 9 -- .../demo/ir_config_parameter_data.xml | 42 +++--- web_create_write_confirm/views/assets.xml | 18 ++- .../views/popup_message.xml | 134 +++++++++--------- .../views/views.xml | 6 +- web_m2x_options_manager/views/ir_model.xml | 2 +- web_no_bubble/views/web_no_bubble.xml | 50 ++++--- .../views/res_config_settings_views.xml | 121 ++++++++-------- web_switch_context_warning/view/view.xml | 30 ++-- 10 files changed, 194 insertions(+), 225 deletions(-) delete mode 100644 .github/workflows/stale.yml.rej diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9d085e5aa..602ecbca2 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,17 +13,10 @@ jobs: pre-commit: runs-on: ubuntu-22.04 steps: -<<<<<<< before updating - - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 - with: - python-version: "3.10" -======= - uses: actions/checkout@v3 - uses: actions/setup-python@v2 with: python-version: "3.11" ->>>>>>> after updating - name: Get python version run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - uses: actions/cache@v1 diff --git a/.github/workflows/stale.yml.rej b/.github/workflows/stale.yml.rej deleted file mode 100644 index f41569091..000000000 --- a/.github/workflows/stale.yml.rej +++ /dev/null @@ -1,9 +0,0 @@ -diff a/.github/workflows/stale.yml b/.github/workflows/stale.yml (rejected hunks) -@@ -15,2 +15,3 @@ jobs: - # General settings. -+ ascending: true - remove-stale-when-updated: true -@@ -52,2 +53,3 @@ jobs: - repo-token: ${{ secrets.GITHUB_TOKEN }} -+ ascending: true - only-labels: "needs more information" diff --git a/support_branding/demo/ir_config_parameter_data.xml b/support_branding/demo/ir_config_parameter_data.xml index ef9bf9417..4ec7d4b06 100644 --- a/support_branding/demo/ir_config_parameter_data.xml +++ b/support_branding/demo/ir_config_parameter_data.xml @@ -1,25 +1,23 @@ - - - support_company - Odoo Community Association - - - support_company_url - https://odoo-community.org - - - support_branding_color - #fff - - - support_email - oca@example.com - - - support_release - 14.0 - - + + support_company + Odoo Community Association + + + support_company_url + https://odoo-community.org + + + support_branding_color + #fff + + + support_email + oca@example.com + + + support_release + 14.0 + diff --git a/web_create_write_confirm/views/assets.xml b/web_create_write_confirm/views/assets.xml index 6aec517eb..57605f94a 100644 --- a/web_create_write_confirm/views/assets.xml +++ b/web_create_write_confirm/views/assets.xml @@ -1,15 +1,13 @@ - -