Browse Source
Merge pull request #829 from Tecnativa/10.0-fix-web_dialog_size
[FIX] web_dialog_size: default_maximize
pull/832/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_dialog_size/__manifest__.py
-
web_dialog_size/static/src/js/web_dialog_size.js
|
|
@ -14,7 +14,7 @@ |
|
|
|
"Odoo Community Association (OCA)", |
|
|
|
'website': "http://acsone.eu", |
|
|
|
'category': 'web', |
|
|
|
'version': '10.0.1.0.1', |
|
|
|
'version': '10.0.1.0.2', |
|
|
|
'license': 'AGPL-3', |
|
|
|
'depends': [ |
|
|
|
'web', |
|
|
|
|
|
@ -14,7 +14,7 @@ Dialog.include({ |
|
|
|
|
|
|
|
new Model('ir.config_parameter').query(['key', 'value']). |
|
|
|
filter([['key', '=', 'web_dialog_size.default_maximize']]).all().then(function(default_maximize) { |
|
|
|
if (default_maximize.length && default_maximize[0].value === 1) { |
|
|
|
if (default_maximize.length && default_maximize[0].value == 1) { |
|
|
|
self._extending(); |
|
|
|
} else { |
|
|
|
self._restore(); |
|
|
|