Skip to content

Commit

Permalink
[FIX] base_import_async: restore class
Browse files Browse the repository at this point in the history
In migration to 16.0, input class `oe_import_queue` was replaced by
another one when it has to be added instead, causing the module not
to work. In Javascript, input is searched by this class and it's not
found, so value cannot be recovered and import is made
synchronously.
  • Loading branch information
danielduqma committed Sep 13, 2023
1 parent bcd89a6 commit f40e6f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions base_import_async/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ Other contributors include:
* Guewen Baconnier (Camptocamp)
* `Trobz <https://trobz.com>`_:
* Dzung Tran <[email protected]>
* Daniel Duque (FactorLibre)
6 changes: 5 additions & 1 deletion base_import_async/static/src/xml/import.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
after splitting your file in small chunks that will be processed independently.
Use this to import very large files."
>
<input type="checkbox" class="form-check-input" id="oe_import_queue" />
<input
type="checkbox"
class="oe_import_queue form-check-input"
id="oe_import_queue"
/>
<label for="oe_import_queue">Import in the background</label>
</div>
</t>
Expand Down

0 comments on commit f40e6f6

Please sign in to comment.