diff --git a/.copier-answers.yml b/.copier-answers.yml
index d3e0b35e5f2e..ecf535e0b961 100644
--- a/.copier-answers.yml
+++ b/.copier-answers.yml
@@ -1,8 +1,7 @@
# Do NOT update manually; changes here will be overwritten by Copier
-_commit: v1.14.2
+_commit: v1.17.2
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
-dependency_installation_mode: PIP
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
@@ -11,6 +10,7 @@ github_enable_makepot: true
github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: false
+odoo_test_flavor: Both
odoo_version: 14.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
@@ -22,6 +22,4 @@ repo_description: "This project aims to deal with modules related to the webclie
repo_name: Web addons for Odoo
repo_slug: web
repo_website: https://github.com/OCA/web
-travis_apt_packages: []
-travis_apt_sources: []
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 9429bc688aab..fed88d70d23e 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/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 5cdd68ed375b..602ecbca24d5 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -13,10 +13,10 @@ jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v4
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v2
with:
- python-version: "3.10"
+ python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
@@ -27,6 +27,15 @@ jobs:
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always
+ env:
+ # Consider valid a PR that changes README fragments but doesn't
+ # change the README.rst file itself. It's not really a problem
+ # because the bot will update it anyway after merge. This way, we
+ # lower the barrier for functional contributors that want to fix the
+ # readme fragments, while still letting developers get README
+ # auto-generated (which also helps functionals when using runboat).
+ # DOCS https://pre-commit.com/#temporarily-disabling-hooks
+ SKIP: oca-gen-addon-readme
- name: Check that all files generated by pre-commit are in git
run: |
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
diff --git a/.github/workflows/stale.yml.rej b/.github/workflows/stale.yml.rej
deleted file mode 100644
index f41569091f86..000000000000
--- 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/.github/workflows/test.yml b/.github/workflows/test.yml
index d301a5668e83..caf1488100f5 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
@@ -37,18 +37,18 @@ jobs:
include:
- container: ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
include: "web_widget_model_viewer"
- makepot: "true"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
include: "web_widget_model_viewer"
name: test with OCB
+ makepot: "true"
- container: ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
exclude: "web_widget_model_viewer"
- makepot: "true"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
exclude: "web_widget_model_viewer"
name: test with OCB
+ makepot: "true"
services:
postgres:
image: postgres:9.6
@@ -62,7 +62,7 @@ jobs:
INCLUDE: "${{ matrix.include }}"
EXCLUDE: "${{ matrix.exclude }}"
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install addons and dependencies
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 988051bfe92c..8e2098eafcc4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,6 +12,8 @@ exclude: |
/static/(src/)?lib/|
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
+ # Don't bother non-technical authors with formatting issues in docs
+ readme/.*\.(rst|md)$|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
@@ -33,12 +35,24 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/oca/maintainer-tools
- rev: ab1d7f6
+ rev: 969238e47c07d0c40573acff81d170f63245d738
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://github.com/OCA/web"]
+ - id: oca-gen-addon-readme
+ args:
+ - --addons-dir=.
+ - --branch=14.0
+ - --org-name=OCA
+ - --repo-name=web
+ - --if-source-changed
+ - 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: v1.4
hooks:
diff --git a/README.md b/README.md
index 70648029da64..6e6b9b0755e7 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
-[support_branding](support_branding/) | 14.0.1.0.1 | | Adds your branding to an Odoo instance
+[support_branding](support_branding/) | 14.0.1.1.0 | | Adds your branding to an Odoo instance
[web_access_rule_buttons](web_access_rule_buttons/) | 14.0.1.0.1 | | Disable Edit button if access rules prevent this action
[web_action_conditionable](web_action_conditionable/) | 14.0.1.0.1 | | web_action_conditionable
[web_advanced_search](web_advanced_search/) | 14.0.1.0.1 | | Easier and more powerful searching tools
@@ -34,7 +34,7 @@ addon | version | maintainers | summary
[web_calendar_slot_duration](web_calendar_slot_duration/) | 14.0.1.0.0 | [![Yajo](https://github.com/Yajo.png?size=30px)](https://github.com/Yajo) | Customizable calendar slot durations
[web_company_color](web_company_color/) | 14.0.2.0.0 | | Web Company Color
[web_copy_confirm](web_copy_confirm/) | 14.0.1.0.0 | | Show confirmation dialogue before copying records
-[web_create_write_confirm](web_create_write_confirm/) | 14.0.1.1.0 | [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) | Confirm/Alert pop-up before saving
+[web_create_write_confirm](web_create_write_confirm/) | 14.0.1.2.0 | [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) | Confirm/Alert pop-up before saving
[web_decimal_numpad_dot](web_decimal_numpad_dot/) | 14.0.1.0.0 | | Allows using numpad dot to enter period decimal separator
[web_dialog_size](web_dialog_size/) | 14.0.1.0.0 | | A module that lets the user expand a dialog box to the full screen width.
[web_disable_export_group](web_disable_export_group/) | 14.0.2.0.0 | | Web Disable Export Group
@@ -42,25 +42,25 @@ addon | version | maintainers | summary
[web_drop_target](web_drop_target/) | 14.0.1.1.1 | | Allows to drag files into Odoo
[web_edit_user_filter](web_edit_user_filter/) | 14.0.1.0.1 | | Edit User Filters
[web_environment_ribbon](web_environment_ribbon/) | 14.0.1.0.0 | | Web Environment Ribbon
-[web_field_required_invisible_manager](web_field_required_invisible_manager/) | 14.0.2.1.3 | [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) | Web Field Required Invisible Readonly Managerr
+[web_field_required_invisible_manager](web_field_required_invisible_manager/) | 14.0.2.2.0 | [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) | Web Field Required Invisible Readonly Managerr
[web_group_expand](web_group_expand/) | 14.0.1.0.0 | | Group Expand Buttons
[web_ir_actions_act_multi](web_ir_actions_act_multi/) | 14.0.1.0.1 | | Enables triggering of more than one action on ActionManager
[web_ir_actions_act_view_reload](web_ir_actions_act_view_reload/) | 14.0.1.0.2 | | Enables reload of the current view via ActionManager
[web_ir_actions_act_window_message](web_ir_actions_act_window_message/) | 14.0.1.0.1 | | Show a message box to users
[web_listview_range_select](web_listview_range_select/) | 14.0.1.0.0 | | Enables selecting a range of records using the shift key
[web_m2x_options](web_m2x_options/) | 14.0.1.1.1 | | web_m2x_options
-[web_m2x_options_manager](web_m2x_options_manager/) | 14.0.1.1.0 | | Adds an interface to manage the "Create" and "Create and Edit" options for specific models and fields.
-[web_no_bubble](web_no_bubble/) | 14.0.1.0.0 | | Remove the bubbles from the web interface
+[web_m2x_options_manager](web_m2x_options_manager/) | 14.0.1.2.0 | | Adds an interface to manage the "Create" and "Create and Edit" options for specific models and fields.
+[web_no_bubble](web_no_bubble/) | 14.0.1.1.0 | | Remove the bubbles from the web interface
[web_notify](web_notify/) | 14.0.1.0.1 | | Send notification messages to user
[web_notify_channel_message](web_notify_channel_message/) | 14.0.1.0.0 | | Send an instant notification to channel users when a new message is posted
-[web_pwa_oca](web_pwa_oca/) | 14.0.1.0.0 | [![eLBati](https://github.com/eLBati.png?size=30px)](https://github.com/eLBati) | Make Odoo a PWA
+[web_pwa_oca](web_pwa_oca/) | 14.0.1.1.0 | [![eLBati](https://github.com/eLBati.png?size=30px)](https://github.com/eLBati) | Make Odoo a PWA
[web_refresher](web_refresher/) | 14.0.2.0.0 | | Web Refresher
[web_remember_tree_column_width](web_remember_tree_column_width/) | 14.0.1.0.0 | [![frahikLV](https://github.com/frahikLV.png?size=30px)](https://github.com/frahikLV) [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) | Remember the tree columns' widths across sessions.
[web_responsive](web_responsive/) | 14.0.1.2.2 | [![Yajo](https://github.com/Yajo.png?size=30px)](https://github.com/Yajo) [![Tardo](https://github.com/Tardo.png?size=30px)](https://github.com/Tardo) | Responsive web client, community-supported
[web_search_with_and](web_search_with_and/) | 14.0.1.0.1 | | Use AND conditions on omnibar search
[web_send_message_popup](web_send_message_popup/) | 14.0.1.0.0 | | Web Send Message as Popup
[web_sheet_full_width](web_sheet_full_width/) | 14.0.1.0.1 | | Use the whole available screen width when displaying sheets
-[web_switch_context_warning](web_switch_context_warning/) | 14.0.1.0.0 | | Show a warning if current user, company or database have been switched in another tab or window.
+[web_switch_context_warning](web_switch_context_warning/) | 14.0.1.1.0 | | Show a warning if current user, company or database have been switched in another tab or window.
[web_timeline](web_timeline/) | 14.0.2.0.2 | [![tarteo](https://github.com/tarteo.png?size=30px)](https://github.com/tarteo) | Interactive visualization chart to show events in time
[web_tree_dynamic_colored_field](web_tree_dynamic_colored_field/) | 14.0.1.0.0 | | Allows you to dynamically color fields on tree views
[web_tree_image_tooltip](web_tree_image_tooltip/) | 14.0.1.0.0 | | Show images in tree views via tooltip
diff --git a/support_branding/README.rst b/support_branding/README.rst
index 858a6e852e4c..0367eaaa0883 100644
--- a/support_branding/README.rst
+++ b/support_branding/README.rst
@@ -7,7 +7,7 @@ Support Branding
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! source digest: sha256:d1dcdd3f58c7e86333a318988a39d7f43236e188d4246adc81561c66c774a110
+ !! source digest: sha256:38fdbf8b1f51debe98858267216174f89f927bbf1da5c8c256d99ea4b8d4f1ba
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
diff --git a/support_branding/__manifest__.py b/support_branding/__manifest__.py
index 852b39b32271..2badf8ae5deb 100644
--- a/support_branding/__manifest__.py
+++ b/support_branding/__manifest__.py
@@ -8,7 +8,7 @@
"name": "Support Branding",
"summary": "Adds your branding to an Odoo instance",
"category": "Hidden/Tools",
- "version": "14.0.1.0.1",
+ "version": "14.0.1.1.0",
"license": "AGPL-3",
"author": "Therp BV,Sunflower IT,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
diff --git a/support_branding/demo/ir_config_parameter_data.xml b/support_branding/demo/ir_config_parameter_data.xml
index ef9bf94170aa..4ec7d4b06ded 100644
--- a/support_branding/demo/ir_config_parameter_data.xml
+++ b/support_branding/demo/ir_config_parameter_data.xml
@@ -1,25 +1,23 @@
If you run an Odoo support company and you support customers without an OPW, diff --git a/web_create_write_confirm/README.rst b/web_create_write_confirm/README.rst index 8587bc43c4f9..999bd464db33 100644 --- a/web_create_write_confirm/README.rst +++ b/web_create_write_confirm/README.rst @@ -7,7 +7,7 @@ Confirm/Alert pop-up before saving !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:9a2b87a13801cefbe6e4daaeda2556665241e46995fa392222f939ea05134cb7 + !! source digest: sha256:8b3ce800ac38d54deefd0aec66b698d2cd9b8ea75b5b1b9731ebf9c784c9d09f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/web_create_write_confirm/__manifest__.py b/web_create_write_confirm/__manifest__.py index 5e7024b38f11..14322977e9c1 100644 --- a/web_create_write_confirm/__manifest__.py +++ b/web_create_write_confirm/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Confirm/Alert pop-up before saving", - "version": "14.0.1.1.0", + "version": "14.0.1.2.0", "depends": ["web"], "author": "Smile, Odoo Community Association (OCA)", "maintainers": ["ilyasProgrammer"], diff --git a/web_create_write_confirm/i18n/web_create_write_confirm.pot b/web_create_write_confirm/i18n/web_create_write_confirm.pot index 9aa679e8cb98..7751efc13cad 100644 --- a/web_create_write_confirm/i18n/web_create_write_confirm.pot +++ b/web_create_write_confirm/i18n/web_create_write_confirm.pot @@ -101,7 +101,6 @@ msgstr "" #. module: web_create_write_confirm #: model_terms:ir.ui.view,arch_db:web_create_write_confirm.view_popup_message_form -#: model_terms:ir.ui.view,arch_db:web_create_write_confirm.view_popup_message_tree msgid "Popup Message" msgstr "" diff --git a/web_create_write_confirm/static/description/index.html b/web_create_write_confirm/static/description/index.html index b36384575844..d54866cb5414 100644 --- a/web_create_write_confirm/static/description/index.html +++ b/web_create_write_confirm/static/description/index.html @@ -367,7 +367,7 @@
This module provides feature to create custom confirmation or alert dialog when user creates or writes record.
diff --git a/web_create_write_confirm/views/assets.xml b/web_create_write_confirm/views/assets.xml
index 6aec517ebf18..57605f94ae32 100644
--- a/web_create_write_confirm/views/assets.xml
+++ b/web_create_write_confirm/views/assets.xml
@@ -1,15 +1,13 @@
- Add your pop-up!
-
+ Add your pop-up!
+ This module allows to set a field required, invisible or readonly for users belonging to a specific group. Allows managing the “Create…” and “Create and Edit…” options for Many2one
diff --git a/web_m2x_options_manager/views/ir_model.xml b/web_m2x_options_manager/views/ir_model.xml
index f0e6502d470e..e52a1b864b3e 100644
--- a/web_m2x_options_manager/views/ir_model.xml
+++ b/web_m2x_options_manager/views/ir_model.xml
@@ -17,7 +17,7 @@
nolabel="1"
context="{'default_model_name': model}"
>
- This module removes from the web interface the bubbles introduced in the version 10.0.
diff --git a/web_no_bubble/views/web_no_bubble.xml b/web_no_bubble/views/web_no_bubble.xml
index 164d0160cc3c..4ebe5512f6c5 100644
--- a/web_no_bubble/views/web_no_bubble.xml
+++ b/web_no_bubble/views/web_no_bubble.xml
@@ -1,29 +1,27 @@
Make Odoo an installable Progressive Web Application. In Odoo 14 possible to work in different tabs with different companies, now the module only shows a warning when the user or database has been switched.Web Field Required Invisible Readonly Managerr
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!! source digest: sha256:84570f9ccf44c147403cd706cb7d88ed066e6b798e45577cd595c1eda753f49d
+!! source digest: sha256:b62c0fba37034f166ef441dbdddcf332ed8668eab80d2cf4255ffc887d7c17d6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
Web M2X Options Manager
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!! source digest: sha256:fe9b7bd27ede4c8ef8af59e31d8430af8d36350528648048f99bdf8eedcdbecd
+!! source digest: sha256:84850efd286fe917a943a99f94e522b5dc1dce21141654bebf1c26a86bea13d9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
Progressive web application
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!! source digest: sha256:69af05506143fe246389fd7c2199aa85917d9329647c73502c84113b48280b68
+!! source digest: sha256:46bc0c031ab2302251bdca89ce697c7151bb93fa76eaabcfe8648ba1e153d9a9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
Progressive Web App
- Progressive Web App
+ Switch Context Warning
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!! source digest: sha256:4575b20c16389170254617361e098c6b4b5e95cee8638bba40f8605e2ae3d2a0
+!! source digest: sha256:8cb69352c6779440096c3c67eb4dc02d157b3f352975e6a3eefd334132f8e7bb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->