[MOV] web_editor, point_of_sale: move html2canvas to web_editor

This moves the `html2canvas` library from `point_of_sale` to
`web_editor` so as to be able to use it in `convert_inline`.
`point_of_sale`, depending from `web_editor`, doesn't lose access to the
library.

task-2856858

Part-of: odoo/odoo#91314
This commit is contained in:
Antoine Guenet
2022-05-24 14:51:05 +02:00
parent c934652660
commit 3fcb74533a
4 changed files with 6 additions and 4 deletions
+1
View File
@@ -120,6 +120,7 @@
# Here includes the lib and POS UI assets.
'point_of_sale/static/lib/**/*.js',
'web_editor/static/lib/html2canvas.js',
'point_of_sale/static/src/js/**/*.js',
],
# This bundle contains the code responsible for starting the POS UI.
+1
View File
@@ -34,6 +34,7 @@ Odoo Web Editor widget.
'web_editor/static/lib/jQuery.transfo.js',
'web/static/lib/nearest/jquery.nearest.js',
'web_editor/static/lib/webgl-image-filter/webgl-image-filter.js',
'web_editor/static/lib/html2canvas.js', # needed for convert_inline.js
# odoo-editor
'web_editor/static/lib/odoo-editor/src/style.css',
+4 -4
View File
@@ -205,10 +205,6 @@ Files: addons/point_of_sale/models/account_bank_statement.py addons/point_of_sal
Copyright: 2004-2008 PC Solutions (<http://pcsol.be>)
License: LGPL-3+
Files: addons/point_of_sale/static/lib/html2canvas.js
Copyright: 2013 Niklas von Hertzen; 2010 John Resig
License: MIT
Files: addons/pos_epson_printer/static/lib/epos-2.12.0.js
Copyright: Seiko Epson Corporation 2016 - 2019; 2011 LearnBoost <dev@learnboost.com>
License: MIT
@@ -434,6 +430,10 @@ Files: addons/web_editor/static/lib/webgl-image-filter/*
Copyright: 2020 Dominic Szablewski
License: MIT
Files: addons/web_editor/static/lib/html2canvas.js
Copyright: 2013 Niklas von Hertzen; 2010 John Resig
License: MIT
Files: addons/website_event_track/static/lib/idb-keyval/idb-keyval.js
Copyright: 2016 Jake Archibald
License: Apache-2.0