3
0
Fork 0

[ADD] web_m2o_enhanced module that adds few options for many2one and many2many tags widget

7.0
Nicolas JEUDY 2013-12-11 08:46:55 +01:00 committed by Guewen Baconnier
commit d5ec41984f
1 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ openerp.web_m2x_options = function (instance) {
} }
// quick create // quick create
if ((typeof self.options.create === 'undefined' && can_create) || if ((typeof self.options.create === 'undefined') ||
self.options.create) { self.options.create) {
var raw_result = _(data.result).map(function(x) {return x[1];}); var raw_result = _(data.result).map(function(x) {return x[1];});
@ -204,7 +204,7 @@ openerp.web_m2x_options = function (instance) {
// create... // create...
if ((typeof self.options.create_edit === 'undefined' && can_create) || if ((typeof self.options.create_edit === 'undefined') ||
self.options.create_edit) { self.options.create_edit) {
values.push({ values.push({