Browse Source

[FIX] Do not use extend() when you can use include()

pull/2/head
Stefan Rijnhart 12 years ago
parent
commit
f6a22d5cec
  1. 2
      web_import_models_with_inherits/static/src/js/data_import.js

2
web_import_models_with_inherits/static/src/js/data_import.js

@ -7,7 +7,7 @@
*/ */
openerp.web_import_models_with_inherits = function(openerp) { openerp.web_import_models_with_inherits = function(openerp) {
openerp.web.DataImport = openerp.web.DataImport.extend({
openerp.web.DataImport.include({
/* At widget start, tag on to the 'ready' queue with a function to /* At widget start, tag on to the 'ready' queue with a function to
add the model's _inherits fields to the list that contains all add the model's _inherits fields to the list that contains all
fields that need not be provided by the import file even if they fields that need not be provided by the import file even if they

Loading…
Cancel
Save