Commit Graph

1318 Commits

Author SHA1 Message Date
OCA-git-bot
d76698580e [ADD] setup.py 2022-03-19 01:15:58 +00:00
OCA-git-bot
a63b519cbc [UPD] README.rst 2022-03-19 01:15:56 +00:00
OCA-git-bot
14527f11f7 [UPD] addons table in README.md 2022-03-19 01:15:52 +00:00
oca-ci
9d41ba6192 [UPD] Update web_domain_field.pot 2022-03-19 01:13:40 +00:00
OCA-git-bot
3672f36cde Merge PR #2135 into 15.0
Signed-off-by pedrobaeza
2022-03-19 01:11:11 +00:00
Carlos Roca
e7e795ccdd [IMP] web_m2x_options: Added limit for o2m field entries
Added the system parameter "web_m2x_options.field_limit_entries" to set the limit of entries that can be displayed.
2022-03-18 17:28:41 +07:00
Carlos Roca
7fb6885241 [IMP] web_m2x_options: Efficiency
Improved the efficiency of code: With this improvement we achieve to just do an rpc call when the js file is called instead of do the call for each field.
2022-03-18 17:28:38 +07:00
Ediz Duman
1a23855646 Added translation using Weblate (Turkish) 2022-03-18 10:18:41 +00:00
Quentin Groulard
acec64f61f [ADD] Option open for One2Many fields
With 'open' option, clicking on a row of a o2m field will open the view for the record in fullscreen rather than in a popup
2022-03-18 15:29:45 +07:00
Holger Brunn
5a7fbfec0d [FIX] when all is undefined, fall back to core's default 2022-03-18 15:29:45 +07:00
SilvioC2C
ecb8212f58 [FIX] web_m2x_options: fix search_more behaviour
In README.rst it is said that ``search_more`` key is "[u]sed to force disable/enable search more button".
However, it only applies on fields where the records returned by the name_search are more than the node's limit.

This commit fixes this behaviour, forcing the "Search More..." option to be *always* disabled/enabled if ``search_more`` key is set either locally (in the node's options) or globally (via the ir.config_parameter record).
Moreover, it establishes a clear line of priority for checking whether "Search More..." should be displayed/hidden (local node has the highest priority, global config mid priority, limit check as fallback).
2022-03-18 15:29:45 +07:00
Mantux11
c6f108250f "[IMP] web_dialog_size: black, isort, prettier" 2022-03-10 14:24:56 +00:00
Corneliuus
385f80c1fb Translated using Weblate (German)
Currently translated at 100.0% (4 of 4 strings)

Translation: web-14.0/web-14.0-web_dialog_size
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_dialog_size/de/
2022-03-10 14:24:00 +00:00
Corneliuus
b0924de9de Added translation using Weblate (German) 2022-03-10 14:24:00 +00:00
Alessandro Fiorino
51dbecab04 Translated using Weblate (Italian)
Currently translated at 100.0% (4 of 4 strings)

Translation: web-14.0/web-14.0-web_dialog_size
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_dialog_size/it/
2022-03-10 14:24:00 +00:00
Alessandro Fiorino
133e19bcb0 Added translation using Weblate (Italian) 2022-03-10 14:24:00 +00:00
Valentin Vinagre
489c69b3a6 Translated using Weblate (Spanish)
Currently translated at 50.0% (2 of 4 strings)

Translation: web-14.0/web-14.0-web_dialog_size
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_dialog_size/es/
2022-03-10 14:24:00 +00:00
Valentin Vinagre
055e6eaee4 Added translation using Weblate (Spanish) 2022-03-10 14:24:00 +00:00
Bosd
7d88e031fe Translated using Weblate (Dutch)
Currently translated at 100.0% (4 of 4 strings)

Translation: web-14.0/web-14.0-web_dialog_size
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_dialog_size/nl/
2022-03-10 14:24:00 +00:00
Bosd
91eae6d278 Added translation using Weblate (Dutch) 2022-03-10 14:24:00 +00:00
Yves Le Doeuff
012b1946a1 Translated using Weblate (French)
Currently translated at 50.0% (2 of 4 strings)

Translation: web-14.0/web-14.0-web_dialog_size
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_dialog_size/fr/
2022-03-10 14:24:00 +00:00
Yves Le Doeuff
9d1cbb0322 Added translation using Weblate (French) 2022-03-10 14:24:00 +00:00
OCA-git-bot
faeaac3e93 [UPD] README.rst 2022-03-10 14:24:00 +00:00
Jairo Llopis
921ad9e024 [IMP] web_dialog_size: add task to roadmap
It is important to let users decide their default dialog size. Some have ultrawide monitors and this module does more harm than benefit.

Here I add such task to roadmap, to avoid forgetting about it.

@Tecnativa
2022-03-10 14:24:00 +00:00
oca-git-bot
12003eab7c [IMP] update dotfiles [ci skip] 2022-03-10 14:24:00 +00:00
oca-travis
b4d662175c [UPD] Update web_dialog_size.pot 2022-03-10 14:24:00 +00:00
Pierre Pizzetta
f7cd735fdd [MIG] web_dialog_size: Migration to 14.0 2022-03-10 14:24:00 +00:00
Pierre Pizzetta
c9513c3039 [IMP] web_dialog_size: black, isort, prettier 2022-03-10 14:24:00 +00:00
OCA-git-bot
20442c8b21 [UPD] README.rst 2022-03-10 14:24:00 +00:00
OCA-git-bot
7606270951 [UPD] README.rst 2022-03-10 14:24:00 +00:00
Stéphane Bidoul
33521cb098 pre-commit update: prettier xml indent 2022-03-10 14:24:00 +00:00
Jairo Llopis
5784067517 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2022-03-10 14:24:00 +00:00
emagdalena
2c0d1b3af1 [FIX] web_dialog_size js warnings 2022-03-10 14:24:00 +00:00
OCA-git-bot
9b77d7fa22 pre-commit, black, isort 2022-03-10 14:24:00 +00:00
OCA-git-bot
8b4a18857e [UPD] README.rst 2022-03-10 14:24:00 +00:00
oca-travis
7b7b9ddc48 [UPD] Update web_dialog_size.pot 2022-03-10 14:24:00 +00:00
sudhir-erpharbor
f86d3fecfa [IMP] Improved code and solved the bug of two arrows in dialog. 2022-03-10 14:24:00 +00:00
sudhir-erpharbor
27ad484093 [MIG] Migrated web_dialog_size module in v13. 2022-03-10 14:24:00 +00:00
黎伟杰
0456e831b2 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1 of 1 strings)

Translation: web-12.0/web-12.0-web_dialog_size
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_dialog_size/zh_CN/
2022-03-10 14:24:00 +00:00
黎伟杰
e16a363f62 Added translation using Weblate (Chinese (Simplified)) 2022-03-10 14:24:00 +00:00
OCA-git-bot
d4219058cb [UPD] README.rst 2022-03-10 14:24:00 +00:00
oca-travis
8343c35e84 [UPD] Update web_dialog_size.pot 2022-03-10 14:24:00 +00:00
ernesto
f8dc8750d7 [MIG] web_dialog_size: Migration to 12.0 2022-03-10 14:24:00 +00:00
joezsweet
2bceaae2b3 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`
2022-03-10 14:24:00 +00:00
QS5ELkMu
8c6198bbdd [11.0][FIX] web_dialog_size: Draggable Dialog 2022-03-10 14:24:00 +00:00
oca-travis
1bca23c6ce [UPD] Update web_dialog_size.pot 2022-03-10 14:24:00 +00:00
Jairo Llopis
f7b883c4c3 [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.
2022-03-10 14:24:00 +00:00
Quentin THEURET
8b9d514241 [FIX] #921 Fixed issue when discard a modal with draggable element 2022-03-10 14:24:00 +00:00
Quentin Theuret
3d13362f69 [MIG] Migrate web_dialog_size module to v11 2022-03-10 14:24:00 +00:00
David
364ab609b2 [FIX] web_dialog_size: default_maximize
- default_maximize option wasn't working due to strict value comparison
2022-03-10 14:24:00 +00:00