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

This commit is contained in:
Stefan Rijnhart
2013-02-12 09:47:46 +01:00
parent 36cba0ac7f
commit f6a22d5cec

View File

@@ -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