Skip to content

Commit beda629

Browse files
committed
[MIG] web_responsive: Migration to 16.0
Fix for optional dropdown checkbox in list view Made Changes for compatibility with web_chatter_position module Fix for attachment delete dialog
1 parent da62162 commit beda629

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+930
-1868
lines changed

web_responsive/README.rst

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Web Responsive
1414
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1515
:alt: License: LGPL-3
1616
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
17-
:target: https://github.com/OCA/web/tree/15.0/web_responsive
17+
:target: https://github.com/OCA/web/tree/16.0/web_responsive
1818
:alt: OCA/web
1919
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
20-
:target: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_responsive
20+
:target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_responsive
2121
:alt: Translate me on Weblate
2222
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23-
:target: https://runbot.odoo-community.org/runbot/162/15.0
23+
:target: https://runbot.odoo-community.org/runbot/162/16.0
2424
:alt: Try me on Runbot
2525

2626
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -31,83 +31,83 @@ This module adds responsiveness to web backend.
3131

3232
* New navigation with the fullscreen app menu
3333

34-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/appmenu.gif
34+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/appmenu.gif
3535

3636
* Quick menu search inside the app menu
3737

38-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/appsearch.gif
38+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/appsearch.gif
3939

4040
* Sticky header & footer in list view
4141

42-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/listview.gif
42+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/listview.gif
4343

4444
* Sticky statusbar in form view
4545

46-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/formview.gif
46+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/formview.gif
4747

4848
* Bigger checkboxes in list view
4949

50-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/listview.gif
50+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/listview.gif
5151

5252
* Increase the size of the labels in extra large screens
5353

54-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/label_size_small.png
54+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/label_size_small.png
5555

56-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/label_size_large.png
56+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/label_size_large.png
5757

5858
**Features for mobile**:
5959

6060
* App-specific submenus are shown on full screen when toggling them from the
6161
"hamburger" menu
6262

63-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/hamburger.gif
63+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/hamburger.gif
6464

6565
* User-specific submenus are shown on full screen when toggling them from the
6666
"avatar" menu
6767

68-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/usermenu.gif
68+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/usermenu.gif
6969

7070
* View type picker dropdown displays comfortably
7171

72-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/viewtype.gif
72+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/viewtype.gif
7373

7474
* Top app bar is always visible, but the control panel is hidden when
7575
scrolling down, to save some valuable vertical space
7676

77-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/navbar.gif
77+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/navbar.gif
7878

7979
* Form status bar action and status buttons are collapsed in dropdowns.
8080
Other control panel buttons use icons to save space.
8181

82-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/form_buttons.gif
82+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/form_buttons.gif
8383

8484
* Breadcrumbs navigation is collapsed with a "back arrow" button.
8585

86-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/breadcrumbs.gif
86+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/breadcrumbs.gif
8787

8888
* Search panel is collapsed to mobile version on small screens.
8989

90-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/search_panel.gif
90+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/search_panel.gif
9191

9292
* Followers and send button is displayed on mobile. Avatar is hidden.
9393

94-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/chatter.gif
94+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/chatter.gif
9595

9696
* Scrollable dropdowns
9797

98-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/dropdown_scroll.gif
98+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/dropdown_scroll.gif
9999

100100
* Kanban interface adopted to mobile
101101

102-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/kanban.gif
102+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/kanban.gif
103103

104104
* Calendar interface adopted to mobile
105105

106-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/calendar.gif
106+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/calendar.gif
107107

108108
* Interface is adapted dynamically on device rotation
109109

110-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/device_rotation.gif
110+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/device_rotation.gif
111111

112112
* Big inputs on form in edit mode
113113

@@ -120,29 +120,29 @@ This module adds responsiveness to web backend.
120120
accessible by fingers of one hand.
121121
F.x. `Alt + S` for `Save`
122122

123-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/shortcuts.gif
123+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/shortcuts.gif
124124

125125
* Autofocus on search menu box when opening the app menu
126126

127-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/appsearch.gif
127+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/appsearch.gif
128128

129129
* Full width form sheets
130130

131-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/formview.gif
131+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/formview.gif
132132

133133
* Set chatter on the side of the screen, optional per user
134134

135-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/chatter_sided.gif
135+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/chatter_sided.gif
136136

137137
* Sticky chatter topbar
138138

139-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/chatter_topbar.gif
139+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/chatter_topbar.gif
140140

141141
* When the chatter is configured on the side part, the document viewer fills that
142142
part for side-by-side reading instead of full screen. You can still put it on full
143143
width preview clicking on the new maximize button.
144144

145-
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_responsive/static/img/document_viewer.gif
145+
.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_responsive/static/img/document_viewer.gif
146146

147147
**Table of contents**
148148

@@ -170,7 +170,7 @@ Bug Tracker
170170
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
171171
In case of trouble, please check there if your issue has already been reported.
172172
If you spotted it first, help us smashing it by providing a detailed and welcomed
173-
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_responsive%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
173+
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_responsive%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
174174

175175
Do not contact contributors directly about support or help with technical issues.
176176

@@ -223,6 +223,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
223223

224224
|maintainer-Yajo| |maintainer-Tardo| |maintainer-SplashS|
225225

226-
This module is part of the `OCA/web <https://github.com/OCA/web/tree/15.0/web_responsive>`_ project on GitHub.
226+
This module is part of the `OCA/web <https://github.com/OCA/web/tree/16.0/web_responsive>`_ project on GitHub.
227227

228228
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

web_responsive/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
from . import models

web_responsive/__manifest__.py

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,52 +2,47 @@
22
# Copyright 2017-2018 Tecnativa - Jairo Llopis
33
# Copyright 2018-2019 Tecnativa - Alexandre Díaz
44
# Copyright 2021 ITerra - Sergey Shebanin
5+
# Copyright 2023 Onestein - Anjeel Haria
56
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
67

78
{
89
"name": "Web Responsive",
910
"summary": "Responsive web client, community-supported",
10-
"version": "15.0.1.1.6",
11+
"version": "16.0.1.0.0",
1112
"category": "Website",
1213
"website": "https://github.com/OCA/web",
13-
"author": "LasLabs, Tecnativa, ITerra, " "Odoo Community Association (OCA)",
14+
"author": "LasLabs, Tecnativa, ITerra, Onestein, "
15+
"Odoo Community Association (OCA)",
1416
"license": "LGPL-3",
1517
"installable": True,
1618
"depends": ["web", "mail"],
1719
"development_status": "Production/Stable",
1820
"maintainers": ["Yajo", "Tardo", "SplashS"],
1921
"excludes": ["web_enterprise"],
20-
"data": ["views/res_users.xml", "views/web.xml"],
22+
"data": ["views/web.xml"],
2123
"assets": {
22-
"web.assets_frontend": [
23-
"/web_responsive/static/src/legacy/js/website_apps_menu.js",
24-
"/web_responsive/static/src/legacy/scss/website_apps_menu.scss",
25-
],
2624
"web.assets_backend": [
25+
"/web_responsive/static/src/views/form/form_controller.esm.js",
2726
"/web_responsive/static/src/legacy/scss/web_responsive.scss",
2827
"/web_responsive/static/src/legacy/js/web_responsive.js",
29-
"/web_responsive/static/src/legacy/scss/kanban_view_mobile.scss",
30-
"/web_responsive/static/src/legacy/js/kanban_renderer_mobile.js",
3128
"/web_responsive/static/src/components/ui_context.esm.js",
3229
"/web_responsive/static/src/components/apps_menu/apps_menu.scss",
3330
"/web_responsive/static/src/components/apps_menu/apps_menu.esm.js",
34-
"/web_responsive/static/src/components/navbar/main_navbar.scss",
3531
"/web_responsive/static/src/components/control_panel/control_panel.scss",
3632
"/web_responsive/static/src/components/control_panel/control_panel.esm.js",
3733
"/web_responsive/static/src/components/search_panel/search_panel.scss",
3834
"/web_responsive/static/src/components/search_panel/search_panel.esm.js",
39-
"/web_responsive/static/src/components/attachment_viewer/attachment_viewer.scss",
40-
"/web_responsive/static/src/components/attachment_viewer/attachment_viewer.esm.js",
4135
"/web_responsive/static/src/components/hotkey/hotkey.scss",
42-
],
43-
"web.assets_qweb": [
4436
"/web_responsive/static/src/legacy/xml/form_buttons.xml",
4537
"/web_responsive/static/src/components/apps_menu/apps_menu.xml",
4638
"/web_responsive/static/src/components/control_panel/control_panel.xml",
47-
"/web_responsive/static/src/components/navbar/main_navbar.xml",
4839
"/web_responsive/static/src/components/search_panel/search_panel.xml",
49-
"/web_responsive/static/src/components/attachment_viewer/attachment_viewer.xml",
5040
"/web_responsive/static/src/components/hotkey/hotkey.xml",
41+
"/web_responsive/static/src/components/chatter_topbar/chatter_topbar.esm.js",
42+
"/web_responsive/static/src/components/chatter_topbar/chatter_topbar.xml",
43+
"/web_responsive/static/src/components/attachment_viewer/attachment_viewer.scss",
44+
"/web_responsive/static/src/components/attachment_viewer/attachment_viewer.esm.js",
45+
"/web_responsive/static/src/components/attachment_viewer/attachment_viewer.xml",
5146
],
5247
"web.assets_tests": [
5348
"/web_responsive/static/tests/test_patch.js",

web_responsive/models/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

web_responsive/models/res_users.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

web_responsive/readme/CONTRIBUTORS.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
* Dave Lasley <[email protected]>
22
* Jairo Llopis <[email protected]>
3-
* Dennis Sluijk <[email protected]>
3+
* `Onestein <https://www.onestein.nl>`_:
4+
* Dennis Sluijk <[email protected]>
5+
* Anjeel Haria
46
* Sergio Teruel <[email protected]>
57
* Alexandre Díaz <[email protected]>
68
* Mathias Markl <[email protected]>

web_responsive/readme/DESCRIPTION.rst

Lines changed: 2 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -22,42 +22,16 @@ This module adds responsiveness to web backend.
2222

2323
.. image:: ../static/img/listview.gif
2424

25-
* Increase the size of the labels in extra large screens
26-
27-
.. image:: ../static/img/label_size_small.png
28-
29-
.. image:: ../static/img/label_size_large.png
3025

3126
**Features for mobile**:
32-
33-
* App-specific submenus are shown on full screen when toggling them from the
34-
"hamburger" menu
35-
36-
.. image:: ../static/img/hamburger.gif
37-
38-
* User-specific submenus are shown on full screen when toggling them from the
39-
"avatar" menu
40-
41-
.. image:: ../static/img/usermenu.gif
42-
4327
* View type picker dropdown displays comfortably
4428

4529
.. image:: ../static/img/viewtype.gif
4630

47-
* Top app bar is always visible, but the control panel is hidden when
48-
scrolling down, to save some valuable vertical space
49-
50-
.. image:: ../static/img/navbar.gif
51-
52-
* Form status bar action and status buttons are collapsed in dropdowns.
53-
Other control panel buttons use icons to save space.
31+
* Control panel buttons use icons to save space.
5432

5533
.. image:: ../static/img/form_buttons.gif
5634

57-
* Breadcrumbs navigation is collapsed with a "back arrow" button.
58-
59-
.. image:: ../static/img/breadcrumbs.gif
60-
6135
* Search panel is collapsed to mobile version on small screens.
6236

6337
.. image:: ../static/img/search_panel.gif
@@ -66,22 +40,6 @@ This module adds responsiveness to web backend.
6640

6741
.. image:: ../static/img/chatter.gif
6842

69-
* Scrollable dropdowns
70-
71-
.. image:: ../static/img/dropdown_scroll.gif
72-
73-
* Kanban interface adopted to mobile
74-
75-
.. image:: ../static/img/kanban.gif
76-
77-
* Calendar interface adopted to mobile
78-
79-
.. image:: ../static/img/calendar.gif
80-
81-
* Interface is adapted dynamically on device rotation
82-
83-
.. image:: ../static/img/device_rotation.gif
84-
8543
* Big inputs on form in edit mode
8644

8745
**Features for desktop computers**:
@@ -103,15 +61,7 @@ This module adds responsiveness to web backend.
10361

10462
.. image:: ../static/img/formview.gif
10563

106-
* Set chatter on the side of the screen, optional per user
107-
108-
.. image:: ../static/img/chatter_sided.gif
109-
110-
* Sticky chatter topbar
111-
112-
.. image:: ../static/img/chatter_topbar.gif
113-
114-
* When the chatter is configured on the side part, the document viewer fills that
64+
* When the chatter is on the side part, the document viewer fills that
11565
part for side-by-side reading instead of full screen. You can still put it on full
11666
width preview clicking on the new maximize button.
11767

0 commit comments

Comments
 (0)