Browse Source
Merge pull request #883 from OCA/revert-865-10.0-m2x-options-allow2
Revert "[FIX] web_m2x_options: fix ignored field options"
pull/889/head
Pedro M. Baeza
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
web_m2x_options/__manifest__.py
-
web_m2x_options/static/src/js/form.js
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
{ |
|
|
|
"name": 'web_m2x_options', |
|
|
|
"version": "10.0.1.1.1", |
|
|
|
"version": "10.0.1.1.0", |
|
|
|
"depends": [ |
|
|
|
'base', |
|
|
|
'web', |
|
|
|
|
|
@ -142,7 +142,7 @@ odoo.define('web_m2x_options.web_m2x_options', function (require) { |
|
|
|
var search_result = searcher([["id", "not in", blacklist]]); |
|
|
|
} |
|
|
|
|
|
|
|
if (self.options && (self.is_option_set(self.options.create) || self.is_option_set(self.options.create_edit))) { |
|
|
|
if (!(self.options && (self.is_option_set(self.options.create) || self.is_option_set(self.options.create_edit)))) { |
|
|
|
this.create_rights = this.create_rights || (function(){ |
|
|
|
return new Model(self.field.relation).call( |
|
|
|
"check_access_rights", ["create", false]); |
|
|
|