From 711a3682629ce58197d68f268a546d510115a091 Mon Sep 17 00:00:00 2001
From: Christopher Rogos
Date: Sat, 8 Feb 2025 20:52:17 +0000
Subject: [PATCH] [MIG] web_group_expand: Migration to 18.0
---
web_group_expand/README.rst | 10 +++++-----
web_group_expand/__manifest__.py | 2 +-
web_group_expand/static/description/index.html | 17 ++++++++++-------
.../static/src/js/list_controller.esm.js | 4 +---
4 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/web_group_expand/README.rst b/web_group_expand/README.rst
index 335a8b0f1..316fe0e38 100644
--- a/web_group_expand/README.rst
+++ b/web_group_expand/README.rst
@@ -17,13 +17,13 @@ Group Expand Buttons
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
- :target: https://github.com/OCA/web/tree/17.0/web_group_expand
+ :target: https://github.com/OCA/web/tree/18.0/web_group_expand
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_group_expand
+ :target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_group_expand
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
- :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -46,7 +46,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues `_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -90,6 +90,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-This module is part of the `OCA/web `_ project on GitHub.
+This module is part of the `OCA/web `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/web_group_expand/__manifest__.py b/web_group_expand/__manifest__.py
index fdc8e440d..b084fdd3b 100644
--- a/web_group_expand/__manifest__.py
+++ b/web_group_expand/__manifest__.py
@@ -1,7 +1,7 @@
{
"name": "Group Expand Buttons",
"category": "Web",
- "version": "17.0.1.0.0",
+ "version": "18.0.1.0.0",
"license": "AGPL-3",
"author": "OpenERP SA, "
"AvanzOSC, "
diff --git a/web_group_expand/static/description/index.html b/web_group_expand/static/description/index.html
index 32c93dd8b..60ea522dd 100644
--- a/web_group_expand/static/description/index.html
+++ b/web_group_expand/static/description/index.html
@@ -8,10 +8,11 @@
/*
:Author: David Goodger (goodger@python.org)
-:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
+:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
+Despite the name, some widely supported CSS2 features are used.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
@@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
-pre.code .ln { color: grey; } /* line numbers */
+pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@ span.option {
span.pre {
white-space: pre }
-span.problematic {
+span.problematic, pre.problematic {
color: red }
span.section-subtitle {
@@ -368,7 +369,7 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b5fde9f965d20bdbf8c43c31517883b9d540f190b20715d4a86e09a7b8a774ad
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

When grouping a list by a field, this module adds two buttons to expand
or collapse all the groups at once.
The buttons appear in the top right, in place of the pagination.
@@ -390,7 +391,7 @@ or collapse all the groups at once.
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
-feedback.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -425,11 +426,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
This module is maintained by the OCA.
-

+
+
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
-
This module is part of the OCA/web project on GitHub.
+
This module is part of the OCA/web project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/web_group_expand/static/src/js/list_controller.esm.js b/web_group_expand/static/src/js/list_controller.esm.js
index 2e737c167..a55829e1c 100644
--- a/web_group_expand/static/src/js/list_controller.esm.js
+++ b/web_group_expand/static/src/js/list_controller.esm.js
@@ -1,7 +1,5 @@
-/** @odoo-module */
-
-import {patch} from "@web/core/utils/patch";
import {ListController} from "@web/views/list/list_controller";
+import {patch} from "@web/core/utils/patch";
function flatten(arr) {
return arr.reduce((flat, toFlatten) => {