Commit Graph

21 Commits (b97eed9eec63660ae009fac4f1043c1309b1355c)

Author SHA1 Message Date
joezsweet 75c7d300d3
Fix default_maximize check
Checking result of rpc call, `dialog_maximize`, will end to be always `true` as the method will return a json: `{'dialog_maximize': false }`. So i changed the test to test the value of json key `dialog_maximize`
2018-09-21 17:24:51 +02:00
QS5ELkMu b4d46e89a1 [11.0][FIX] web_dialog_size: Draggable Dialog 2018-07-18 12:45:50 +02:00
oca-travis 8f8b73bb4c [UPD] Update web_dialog_size.pot 2018-06-24 10:28:10 +00:00
OCA Git Bot 86be4fba6c [UPD] README.rst 2018-06-21 05:43:32 +02:00
Pedro M. Baeza 411baa2a14 [FIX] web_dialog_size: Fix README 2018-06-20 10:01:12 +02:00
OCA Git Bot 915f7af354 [UPD] README.rst 2018-06-16 05:55:10 +02:00
Jairo Llopis 2810ad33f3
[FIX] web_dialog_size: Fix usage for non-admins and reduce calls (#954)
This addon had 2 problems after migrating to v11:

1. One call to backend's `ir.config_parameter.get_param` was done for
   each instantiated dialog, while the setting served for the whole
   session equally.
2. That model is now readable only by admin users, so non-admins
   couldn't use the default at all.

Fixed now.
2018-06-13 08:54:46 +02:00
Pedro M. Baeza 6ce6961ceb
[FIX] web_dialog_size: Bump version number 2018-05-16 10:55:42 +02:00
Pedro M. Baeza 742c846ccb
Merge pull request #927 from qtheuret/web_dialog_size_issue_921
[FIX] #921 Fixed issue when discard a modal with draggable element
2018-05-16 10:54:56 +02:00
Quentin THEURET 6087242852 [FIX] #921 Fixed issue when discard a modal with draggable element 2018-05-15 20:42:14 +02:00
Angel Moya - PESOL e5b53e100e
FIX discard
On any form, if you edit and try to discard you get an error

check this lines:
https://github.com/odoo/odoo/blob/11.0/addons/web/static/src/js/views/basic/basic_controller.js#L82
https://github.com/odoo/odoo/blob/11.0/addons/web/static/src/js/core/dialog.js#L235
2018-05-15 19:17:18 +02:00
Quentin Theuret 7a2ba30b7d [MIG] Migrate web_dialog_size module to v11 2018-03-25 19:13:50 +02:00
David b246adf640 [FIX] web_dialog_size: default_maximize
- default_maximize option wasn't working due to strict value comparison
2018-03-25 19:13:50 +02:00
David Vidal 983b98b4c9 [10.0][FIX] web_dialog_size: export modal (#746)
* [10.0][FIX] web_dialog_size: export modal

- PR #733 introduced draggable dialogs wich broke some of them
2018-03-25 19:13:50 +02:00
Wolfgang Pichler d38ba72efc [IMP] Added draggable support to dialogs 2018-03-25 19:13:50 +02:00
Siddharth Bhalgami ec4353fa71 [10.0-MIG] web_dialog_size for v10.0 2018-03-25 19:13:49 +02:00
Siddharth Bhalgami f1dbecb3c9 [MIG] web_dialog_siza: Migrate to v9.0 2018-03-25 19:13:19 +02:00
Stéphane Bidoul 0f0fc59e7e [FIX] web_dialog_size: do not expand by default and correctly honor default_maximize parameter 2018-03-25 19:12:37 +02:00
Pedro M. Baeza 1b12b6b539 [IMP] web_dialog_size: Select default dialog size by config
* [IMP] web_dialog_size: Put dialog size expanded by default

* [REM] web_popup_large: By duplication of the functionality

* [IMP] web_dialog_size: README and contributors

* [ADD] configuration parameter for default behavior

[FIX] return super's promise
[IMP] use fontawesome icons for buttons
2018-03-25 19:12:37 +02:00
Stéphane Bidoul 6033bc3ccc [UPD] prefix versions with 8.0 2018-03-25 19:12:24 +02:00
Anthony Muschang a8122d3553 [ADD] module web_dialog_size
New module that let the user expand a dialog box to the full screen
width.
2018-03-25 19:12:24 +02:00