From f6a22d5cecdaeb76cf46406eb2896858fb6b5122 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Tue, 12 Feb 2013 09:47:46 +0100 Subject: [PATCH] [FIX] Do not use extend() when you can use include() --- web_import_models_with_inherits/static/src/js/data_import.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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