Skip to content

Commit

Permalink
[REL] 2.1 - fix sytray container and port to Odoo 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Grzegorz Marczynski committed Jan 29, 2023
1 parent 2752a35 commit fe1212b
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Progress bar for Odoo waiting screen, possibility to cancel an ongoing operation and a sys tray menu for all operations in progress.

**web_progress** is compatible with Odoo 11.0, 12.0, 13.0, 14.0, 15.0 (CE and EE).
**web_progress** is compatible with Odoo 11.0, 12.0, 13.0, 14.0, 15.0, 16.0 (CE and EE).

Author: Grzegorz Marczyński

Expand Down
5 changes: 4 additions & 1 deletion web_progress/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Progress bar for Odoo waiting screen, possibility to cancel an ongoing operation
:align: center


**web_progress** exists for Odoo 11.0, 12.0, 13.0, 14.0, 15.0 (CE and EE).
**web_progress** exists for Odoo 11.0, 12.0, 13.0, 14.0, 15.0, 16.0 (CE and EE).

Author: Grzegorz Marczyński

Expand Down Expand Up @@ -83,6 +83,9 @@ Progress tracking may be added to sub-operations as well:
Release Notes
-------------

2.0 - 2023-01-29
- port to Odoo 16.0

2.0 - 2021-08-22 - new functionality and fixes:

- add styles (standard, simple, nyan cat)
Expand Down
2 changes: 1 addition & 1 deletion web_progress/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'category': 'Productivity',
'website': 'https://github.com/gmarczynski/odoo-web-progress',

'version': '15.0.2.0',
'version': '15.0.2.1',

'depends': ['web',
'bus',
Expand Down
9 changes: 7 additions & 2 deletions web_progress/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h1>Dynamic Progress Bar</h1>
<img src="progress_bar_loading_cancelling.gif" width="100%" align="center"/>
<img src="progress_bar_loading_systray.gif" width="50%" align="right"
style="margin-left:20px; margin-top:20px; margin-bottom:20px;"/>
<p><strong>web_progress</strong> exists for Odoo 11.0, 12.0, 13.0, 14.0, 15.0 (CE and EE).</p>
<p><strong>web_progress</strong> exists for Odoo 11.0, 12.0, 13.0, 14.0, 15.0, 16.0 (CE and EE).</p>
<p>Author: Grzegorz Marczyński</p>
<p>License: LGPL-3.</p>
<p>Copyright © 2023 Grzegorz Marczyński</p>
Expand Down Expand Up @@ -81,7 +81,12 @@ <h2>For developers</h2>


<h2>Release Notes</h2>
<b>2.0</b> - 2023-01-03- new functionality and fixes:
<b>2.1</b> - 2023-01-29 - new Odoo version and fixes:
<ul>
<li> fix systray container for v15</li>
<li> support Odoo v16.0</li>
</ul>
<b>2.0</b> - 2023-01-03 - new functionality and fixes:
<ul>
<li> add styles (standard, simple, nyan cat)</li>
<li> make the progress bar appear directly when the screen becomes blocked</li>
Expand Down
2 changes: 1 addition & 1 deletion web_progress/static/src/js/progress_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ var ProgressMenu = Widget.extend({
this.$el.addClass('o_no_notification');
}
if (!this.getSession().is_system) {
this.$el.toggleClass('hidden', !this.progressCounter);
this.$el.toggleClass('o_hidden', !this.progressCounter);
}
},
/**
Expand Down
4 changes: 2 additions & 2 deletions web_progress/static/src/xml/web_progress_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<templates xml:space="preserve">

<t t-name="web_progress.ProgressMenu">
<li class="o_mail_systray_item dropdown">
<div class="o_mail_systray_item dropdown">
<a class="dropdown-toggle o-no-caret o-dropdown--narrow" data-toggle="dropdown" data-display="static" aria-expanded="false" title="Progress" href="#" role="button">
<i class="fa fa-spinner"/> <span class="o_notification_counter badge badge-pill"/>
</a>
<div class="o_mail_systray_dropdown dropdown-menu dropdown-menu-right" role="menu">
<div class="o_mail_systray_dropdown_items o_progress_systray text-center"/>
</div>
</li>
</div>
</t>

</templates>

0 comments on commit fe1212b

Please sign in to comment.