diff --git a/web_import_models_with_inherits/static/src/js/data_import.js b/web_import_models_with_inherits/static/src/js/data_import.js index 06034a88..1a958631 100644 --- a/web_import_models_with_inherits/static/src/js/data_import.js +++ b/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.DataImport = openerp.web.DataImport.extend({ + openerp.web.DataImport.include({ /* 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 fields that need not be provided by the import file even if they