Commit Graph

1101 Commits (454d4bc55f34843452681c64df24565d01b8ab83)

Author SHA1 Message Date
Cyril VINH-TUNG 454d4bc55f [web_timeline][IMP] Add margin support in web_timeline (#1135) 2022-08-02 14:35:04 +02:00
invitu a9749ad7c4 [FIX] web_timeline: fix readme - To be squashed with previous one on migration (#1137) 2022-08-02 08:17:19 +02:00
Invitu 697d4ac26e [IMP] Add stack support 2022-08-02 08:17:19 +02:00
tarteo ac8f791237 [IMP] Readme: Available attribute list 2022-08-02 08:17:19 +02:00
tarteo 2ffcacd690 [MIG] web_timeline: Migration to 12.0 2022-08-02 08:17:19 +02:00
Dennis Sluijk 990ef1868f [ADD] Enable multiselect
[IMP] Prevent flickering

[IMP] Fixed headers

[ADD] Create new record by date range selection

Remove roadmap item from readme

[FIX] minimal height
2022-08-02 08:17:19 +02:00
tarteo b678c4628b [ADD] web_timeline: New dependency_arrow attribute
Update README.rst

[FIX] Remove console.log

[ADD] Make timeline.fit optional

[FIX] Use stringified points

[IMP] Reversed the arrow head and fixed lint issues

[IMP] Use options parameter for line color and width

[FIX] Version number

[IMP] Minor improvements
2022-08-02 08:17:19 +02:00
tarteo b77720d084 [ADD] field_utils to web_timeline
[UPD] Version number

[UPD] README
2022-08-02 08:17:19 +02:00
tarteo 10a9f0318a [IMP] web_timeline: Templates implementation like kanban
[IMP] web_timeline: Templates implementation like kanban

[ADD] Check if template exists

Update README.rst
2022-08-02 08:17:19 +02:00
Dennis Sluijk e910bc0c64 [FIX] web_timeline: Make colors attribute optional (#969) 2022-08-02 08:17:19 +02:00
Martin Nicolas Cuesta 20ccec86fe [FIX] Missing GroupClick Functionality 2022-08-02 08:17:19 +02:00
Martin Nicolas Cuesta 38c2da502c [MIG] web_timeline module from v10 to v11
* Update Version in Manifest
* Remove enconding in .py files
* Rewrite the view definition according to version 11
2022-08-02 08:17:19 +02:00
Nicolas PIGANEAU a55ef08f89 Fixed web_timeline.css
CSS classes have changed with the updated version of vis.js
2022-08-02 08:17:19 +02:00
adrien.didenot 70b9c53e06 [IMP] change the option to initialize the timeline window on display.
Change the attribute 'default_window' to 'mode' like the Odoo calendar view (to be iso functional)
2022-08-02 08:17:19 +02:00
adrien.didenot 275a11e67b [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>
2022-08-02 08:17:19 +02:00
adrien.didenot bc09136f38 [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>
2022-08-02 08:17:19 +02:00
adrien.didenot 86bf786981 [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>
2022-08-02 08:17:19 +02:00
Jose M eec796a3ae [10.0] [FIX] [web_timeline] Correct write when grouped by (#678)
* [FIX] Correct write when grouped by

* Remove blank lines

* Minor changes
2022-08-02 08:17:19 +02:00
Thomas Binsfeld 860a6e3bc3 [FIX] web_timeline: fix commas in manifest file 2022-08-02 08:17:19 +02:00
Pedro M. Baeza 9bdadac1ca [MIG] web_timeline: Migration to 9.0 2022-08-02 08:17:19 +02:00
Holger Brunn df6dc4abda [IMP] web_timeline: add few features 2022-08-02 08:17:18 +02:00
Adrien Peiffer (ACSONE) e2780088b2 [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
2022-08-02 08:17:18 +02:00
Laurent Mignon f5a29a3ffc [IMP] web_timeline: Extracted from incubator 2022-08-02 08:17:18 +02:00
OCA-git-bot bc7096d036 [UPD] addons table in README.md 2022-07-20 11:31:12 +00:00
OCA-git-bot f8dd21fc53 web_advanced_search 15.0.1.1.0 2022-07-20 11:31:06 +00:00
OCA-git-bot 788acf1435 Merge PR #2258 into 15.0
Signed-off-by ivantodorovich
2022-07-20 11:27:46 +00:00
Ivàn Todorovich fbb9387d2a
[FIX] web_advanced_search: Implement 'Add Advanced Filter' for owl widgets (pivot, graph)
Steps to reproduce:

1. Go to any Pivot or Graph view.
2. Open the filter menu.

Result:

'Add Advanced Filter' option is not there
2022-07-19 16:04:28 -03:00
Ivàn Todorovich 7de75a9600
[FIX] web_advanced_search: Implement 'Add Custom Filter' for owl widgets (pivot, graph)
Steps to reproduce:

1. Go to any Pivot or Graph view.
2. Add a custom filter, for example, Company.
3. Use the "is equal to" operator.

Result:

Uncaught Promise > Cannot find the definition of component "RecordPicker"

---

This happens because in Odoo 15.0 there are two versions of the FilterMenu and
CustomFilterItem widgets: one implemented in the legacy widget framework [^1]
and another implemented in Owl [^2].

The legacy version is used for `tree` views, for example; whilst the Owl version
is used for `pivot` and `graph` views.

Confusing as it is, before this commit only the legacy version was being overriden,
making it work for `tree` views (most common case), but not for `pivot` views.

Since both versions share the same QWeb template, though, not only it wasn't
working for `pivot`, but it also raised an Exception.

[^1]: https://github.com/odoo/odoo/blob/21a2dfd90/addons/web/static/src/legacy/js/control_panel/custom_filter_item.js#L45
[^2]: https://github.com/odoo/odoo/blob/21a2dfd90/addons/web/static/src/search/filter_menu/custom_filter_item.js#L107
2022-07-19 16:04:24 -03:00
Ivàn Todorovich 2728187b2b
[IMP] web_advanced_search: Move legacy widget overrides to specific folder 2022-07-19 16:02:27 -03:00
OCA Transbot 8f156edf36 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-15.0/web-15.0-web_m2x_options
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_m2x_options/
2022-07-16 13:54:25 +00:00
OCA-git-bot 445313f0f8 [UPD] addons table in README.md 2022-07-16 13:54:12 +00:00
OCA-git-bot d2fc9fd7eb web_m2x_options 15.0.1.1.0 2022-07-16 13:54:07 +00:00
OCA-git-bot 98c36a7dbe [UPD] README.rst 2022-07-16 13:54:07 +00:00
oca-ci 8834c0a4cd [UPD] Update web_m2x_options.pot 2022-07-16 13:50:52 +00:00
OCA-git-bot 9c22f50428 Merge PR #2174 into 15.0
Signed-off-by pedrobaeza
2022-07-16 13:48:59 +00:00
OCA-git-bot f3d59726f5 [ADD] setup.py 2022-06-22 10:37:22 +00:00
OCA-git-bot fa7703fe4d [UPD] README.rst 2022-06-22 10:37:21 +00:00
OCA-git-bot 62db92b867 [UPD] addons table in README.md 2022-06-22 10:37:17 +00:00
oca-ci d19d54e953 [UPD] Update web_widget_child_selector.pot 2022-06-22 10:34:55 +00:00
OCA-git-bot 9f1b9c66e5 Merge PR #2216 into 15.0
Signed-off-by etobella
2022-06-22 10:32:25 +00:00
OCA-git-bot a531d74bfe [ADD] setup.py 2022-06-22 10:30:55 +00:00
OCA-git-bot a21d0df845 [UPD] README.rst 2022-06-22 10:30:55 +00:00
OCA-git-bot df206c1751 [UPD] addons table in README.md 2022-06-22 10:30:51 +00:00
oca-ci 0c0f4ec8fe [UPD] Update web_view_calendar_list.pot 2022-06-22 10:28:20 +00:00
OCA-git-bot 9a75c07dff Merge PR #2215 into 15.0
Signed-off-by etobella
2022-06-22 10:26:00 +00:00
OCA-git-bot 4f9eb1f923 [UPD] addons table in README.md 2022-06-17 05:24:37 +00:00
OCA-git-bot 56e0516398 web_responsive 15.0.1.1.1 2022-06-17 05:24:32 +00:00
OCA-git-bot 4af4b80091 Merge PR #2232 into 15.0
Signed-off-by pedrobaeza
2022-06-17 05:20:46 +00:00
Hieu.VMB 8eb6b35360 [FIX]-web_responsive module: Go to wrong action menu when user is set with Home Action menu 2022-06-16 15:10:24 +07:00
OCA Transbot c0cd95ed3a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-15.0/web-15.0-web_listview_range_select
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_listview_range_select/
2022-06-13 18:51:58 +00:00