[MIG] web_widget_darkroom: Add migration changes

* Remove fabric.js CDN link, source from static/lib instead
* Update python imports (openerp -> odoo)
* Remove unnecessary require('_')
* Update overlay image classes to v10
* Fix typo in readme
* Change module version number to standard (10.0.1.0.0)
* Add DarkroomJS version number to lib files
* Downgrade fabric.js (1.7.15 -> 1.6.7)
* Add Darkroomjs issue to ReadMe
This commit is contained in:
Brenton Hughes
2017-08-22 10:32:03 -07:00
committed by Dave Lasley
parent cf8f89d776
commit bb2b144a2f
12 changed files with 26160 additions and 31 deletions

View File

@@ -11,7 +11,6 @@ odoo.define('web_widget_darkroom.darkroom_widget', function(require) {
var common = require('web.form_common');
var session = require('web.session');
var utils = require('web.utils');
var _ = require('_');
var QWeb = core.qweb;

View File

@@ -55,7 +55,7 @@ odoo.define('web_widget_darkroom.darkroom_modal_button', function(require) {
imageWidget.do_action(modalAction, options);
};
var $button = this.$('.oe_form_binary_image_darkroom_modal');
var $button = this.$('.o_form_binary_image_darkroom_modal');
if ($button.length > 0) {
$button.click(openModal);
}