Commit Graph

1108 Commits

Author SHA1 Message Date
adrien.didenot
7c496aca30 [IMP] Add an option to initialize the timeline window on display.
The default window display all the events (aka 'fit'), in case of events spread over the year, the events are invisibles (too small to be readable)

Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>
2024-10-19 14:52:37 -05:00
adrien.didenot
f94651df71 [Fix OCA/project#317] Add the property date_delay to TimeLine views (same as base Calendar view)
In Odoo calendar view, the attribute date_delay is an alternative to date_stop, to provides the duration of the event instead of its end date.
This commit integrate this attribute to the Timeline view, but contrary to the base Calendar view the Timeline view could use both arguments (date_stop and date_delay) simultaneously.

Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>
2024-10-19 14:52:37 -05:00
adrien.didenot
6726c35ef9 [10.0][IMP] web_timeline improvements:
* Update the vis.js framework to latest stable version (v4.20.1) to add new functionality and save almost
400ko of source code in odoo assets (the vis dev team has isolate the code for timeline widget from the
 rest of their widgets)

* Add the possibility to display events with no duration (instantaneous) as the same time has regular events

* Add the possibility to choose between two scroll mode :
  -  zoom in time resolution (default)
  or
  -  vertical scroll (web browser default behaviour)

Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>
2024-10-19 14:52:37 -05:00
Jose M
e2847b40e3 [10.0] [FIX] [web_timeline] Correct write when grouped by (#678)
* [FIX] Correct write when grouped by

* Remove blank lines

* Minor changes
2024-10-19 14:52:37 -05:00
Thomas Binsfeld
a4f3048951 [FIX] web_timeline: fix commas in manifest file 2024-10-19 14:52:37 -05:00
Pedro M. Baeza
0394e262ed [MIG] web_timeline: Migration to 9.0 2024-10-19 14:52:37 -05:00
Holger Brunn
bfd1ffbe0d [IMP] web_timeline: add few features 2024-10-19 14:52:37 -05:00
Adrien Peiffer (ACSONE)
a1ef8257c5 [IMP] web_timeline: Several improvements:
* Avoid to display all items of group_by model
* Remove unnecessary readgroup
* Remove dependency on project. Modify module structure. Imporve readme file.
* Add setup.py
2024-10-19 14:52:37 -05:00
Laurent Mignon
271b09d524 [IMP] web_timeline: Extracted from incubator 2024-10-19 14:52:37 -05:00
OCA-git-bot
7dfd744539 [BOT] post-merge updates 2024-09-30 15:21:03 +00:00
OCA-git-bot
a91be97fd2 Merge PR #2940 into 17.0
Signed-off-by gurneyalex
2024-09-30 15:00:18 +00:00
harry-ngn
4ccd98cb73 [IMP] web_environment_ribbon : improve Readme / Configure 2024-09-30 16:30:06 +02:00
OCA-git-bot
91fb17cc55 [BOT] post-merge updates 2024-09-16 10:37:04 +00:00
OCA-git-bot
58b8b2a4ce Merge PR #2924 into 17.0
Signed-off-by pedrobaeza
2024-09-16 10:33:20 +00:00
OCA-git-bot
f28a0d1b26 [BOT] post-merge updates 2024-09-16 06:52:03 +00:00
OCA-git-bot
a5c82072b5 Merge PR #2921 into 17.0
Signed-off-by pedrobaeza
2024-09-16 06:47:58 +00:00
wout
9e1b022341 [FIX] Error opening product form in shop floor 2024-08-29 13:23:05 +02:00
OCA-git-bot
3062d82fa8 [BOT] post-merge updates 2024-08-29 06:20:13 +00:00
oca-ci
0f41b72717 [UPD] Update web_widget_url_advanced.pot 2024-08-29 06:17:28 +00:00
OCA-git-bot
30c029a893 Merge PR #2918 into 17.0
Signed-off-by simahawk
2024-08-29 06:14:54 +00:00
Christopher Rogos
767de4c065 [FIX] web_m2x_options: add fieldColor to Many2OneAvatarUserField and KanbanMany2OneAvatarUserField 2024-08-23 06:59:57 +00:00
OCA-git-bot
f4885276a6 [BOT] post-merge updates 2024-08-19 06:29:06 +00:00
oca-ci
7ac2d0b93e [UPD] Update web_dialog_size.pot 2024-08-19 06:26:15 +00:00
OCA-git-bot
4a7e67e71c Merge PR #2919 into 17.0
Signed-off-by pedrobaeza
2024-08-19 06:23:52 +00:00
Carlos Roca
996d4e56e6 [MIG] web_dialog_size: Migration to 17.0 2024-08-16 09:41:59 +02:00
Carlos Roca
d760a19735 [IMP] web_dialog_size: pre-commit auto fixes 2024-08-16 08:35:31 +02:00
Carlos Roca
95c85e4fce [FIX] web_dialog_size: Fixes on legacy Dialogs
The problems found on Legacy Dialogs are the next:

1. The modal can't be dragged
2. The button for extending and reduce the modal is doing nothing
3. The x for close the modal is showed twice

You can test it with dialogs showed on Vault module
2024-08-16 08:35:31 +02:00
mymage
96776c225a Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-16.0/web-16.0-web_dialog_size
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_dialog_size/it/
2024-08-16 08:35:31 +02:00
tarteo
0b8750db7c [IMP] web_dialog_size: Migration to 16.0
[IMP] web_dialog_size: Migration to 16.0

[REM] Remove duplicate configuration readme file

[FIX] Make it work for normal dialogs also

[FIX] SelectCreateDialog

precommit
2024-08-16 08:35:31 +02:00
Mantux11
de7f74d8d8 [15.0][MIG] web_dialog_size: migration to 15.0 2024-08-16 08:35:31 +02:00
Corneliuus
22892259d0 Added translation using Weblate (German) 2024-08-16 08:35:31 +02:00
Alessandro Fiorino
b140bc764f Added translation using Weblate (Italian) 2024-08-16 08:35:31 +02:00
Valentin Vinagre
544820d87e Added translation using Weblate (Spanish) 2024-08-16 08:35:31 +02:00
Bosd
e584f48192 Added translation using Weblate (Dutch) 2024-08-16 08:35:31 +02:00
Yves Le Doeuff
905c76aefe Added translation using Weblate (French) 2024-08-16 08:35:31 +02:00
Jairo Llopis
89ece718a2 [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
2024-08-16 08:35:31 +02:00
Pierre Pizzetta
8a378e01ee [MIG] web_dialog_size: Migration to 14.0 2024-08-16 08:35:31 +02:00
Pierre Pizzetta
67de16f079 [IMP] web_dialog_size: black, isort, prettier 2024-08-16 08:35:31 +02:00
Stéphane Bidoul
0c69cbaef3 pre-commit update: prettier xml indent 2024-08-16 08:35:31 +02:00
Jairo Llopis
ad37c8252b [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2024-08-16 08:35:31 +02:00
emagdalena
6d5156af44 [FIX] web_dialog_size js warnings 2024-08-16 08:35:31 +02:00
sudhir-erpharbor
daaea05f29 [IMP] Improved code and solved the bug of two arrows in dialog. 2024-08-16 08:35:31 +02:00
sudhir-erpharbor
82fed0518f [MIG] Migrated web_dialog_size module in v13. 2024-08-16 08:35:31 +02:00
黎伟杰
f3a78cc14c Added translation using Weblate (Chinese (Simplified)) 2024-08-16 08:35:31 +02:00
ernesto
090c0dbeed [MIG] web_dialog_size: Migration to 12.0 2024-08-16 08:35:31 +02:00
joezsweet
18364b9838 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`
2024-08-16 08:35:31 +02:00
QS5ELkMu
41209e7112 [11.0][FIX] web_dialog_size: Draggable Dialog 2024-08-16 08:35:31 +02:00
Jairo Llopis
1ccbd594d0 [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.
2024-08-16 08:35:31 +02:00
Quentin THEURET
7903a61a1c [FIX] #921 Fixed issue when discard a modal with draggable element 2024-08-16 08:35:31 +02:00
Quentin Theuret
8c84adc305 [MIG] Migrate web_dialog_size module to v11 2024-08-16 08:35:31 +02:00