Nicolas PIGANEAU
bb2c00d162
Fixed web_timeline.css
...
CSS classes have changed with the updated version of vis.js
2020-03-30 19:20:32 +02:00
adrien.didenot
0e73a6e5ac
[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)
2020-03-30 19:20:32 +02:00
adrien.didenot
3805ca1947
[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>
2020-03-30 19:20:32 +02:00
adrien.didenot
2149547149
[ 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>
2020-03-30 19:20:32 +02:00
adrien.didenot
70da4d9946
Cosmetic changes (to skip or squash)
...
Signed-off-by: adrien.didenot <adrien.didenot@horanet.com>
2020-03-30 19:20:32 +02:00
adrien.didenot
90b2ad75b7
[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>
2020-03-30 19:20:32 +02:00
Jose M
03834d61f4
[10.0] [FIX] [web_timeline] Correct write when grouped by ( #678 )
...
* [FIX] Correct write when grouped by
* Remove blank lines
* Minor changes
2020-03-30 19:20:32 +02:00
OCA Transbot
73bddec59d
OCA Transbot updated translations from Transifex
2020-03-30 19:20:32 +02:00
OCA Transbot
0a86f6bebd
OCA Transbot updated translations from Transifex
2020-03-30 19:20:32 +02:00
Thomas Binsfeld
e4ed45151a
[FIX] web_timeline: fix commas in manifest file
2020-03-30 19:20:32 +02:00
Leonardo Donelli
36cfd9b8f5
Port web_timeline to v10
2020-03-30 19:20:32 +02:00
Pedro M. Baeza
4d57cf41ff
[MIG] web_timeline: Migration to 9.0
2020-03-30 19:20:32 +02:00
Holger Brunn
4049b0abc3
[IMP] web_timeline: add few features
2020-03-30 19:20:32 +02:00
Adrien Peiffer (ACSONE)
c30c01cffa
[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
2020-03-30 19:20:32 +02:00
Laurent Mignon
bab7e31f43
[IMP] web_timeline: Extracted from incubator
2020-03-30 19:20:32 +02:00
OCA Transbot
7ae4360745
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: web-13.0/web-13.0-web_tree_dynamic_colored_field
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_tree_dynamic_colored_field/
2020-03-29 06:55:39 +00:00
OCA-git-bot
82757d201a
[UPD] README.rst
2020-03-29 06:55:25 +00:00
黎伟杰
6ec1648680
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (16 of 16 strings)
Translation: web-13.0/web-13.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_responsive/zh_CN/
2020-03-23 06:13:56 +00:00
Rodrigo Macedo
b1e19ed9bd
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (16 of 16 strings)
Translation: web-13.0/web-13.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_responsive/pt_BR/
2020-03-21 21:13:56 +00:00
OCA-git-bot
29aa97e734
[ADD] setup.py
2020-03-19 12:25:57 +00:00
OCA-git-bot
c8d2593dd9
[UPD] README.rst
2020-03-19 12:25:56 +00:00
oca-travis
3b3e6a5738
[UPD] Update web_tree_dynamic_colored_field.pot
2020-03-19 12:20:20 +00:00
OCA-git-bot
4d03d6fe66
Merge PR #1480 into 13.0
...
Signed-off-by simahawk
2020-03-19 12:14:52 +00:00
Guewen Baconnier
03cf40d81b
run pre-commit with new prettiers
2020-03-19 11:38:41 +01:00
Guewen Baconnier
a8b8e706c5
Run pre-commit and fix js issues after rebase on new config
2020-03-19 11:37:58 +01:00
Guewen Baconnier
8469dbb954
Remove support of dynamic colors on <tree>
...
The 'colors' and 'options' fields are not supported by the RelaxNG
schema of the <tree> element. Remove the support until we find a
good solution for this.
2020-03-19 11:37:58 +01:00
Guewen Baconnier
0280e0479c
[MIG] web_tree_dynamic_colored_field: Migration to 13.0
...
Use 'options' instead of 'colors' on tree views
The colors attribute has been removed from the RelaxNG schema in
Odoo [0], so use the 'options' instead.
Closes #1479
[0] 7024f8d58b (diff-e9acd2f731cc01f302055b6e232df983)
2020-03-19 11:37:58 +01:00
Guewen Baconnier
796c683279
[REF] web_tree_dynamic_colored_field: Black python code
2020-03-19 11:37:58 +01:00
OCA Transbot
acf04d5c5e
OCA Transbot updated translations from Transifex
2020-03-19 11:37:58 +01:00
OCA-git-bot
8918d695ec
[UPD] README.rst
2020-03-19 11:37:58 +01:00
Adrià Gil Sorribes
afb25604c2
remove pyeval class and fixup
2020-03-19 11:37:58 +01:00
mreficent
266d5906bc
web_tree_dynamic_colored_field: Migration to 12.0
2020-03-19 11:37:58 +01:00
Damien Crier
58ed66c412
Update README because of wrong license
...
Found in this commit: 3965057913
2020-03-19 11:37:58 +01:00
QS5ELkMu
bc096bace2
[FIX] Issue #906
2020-03-19 11:37:58 +01:00
Luis Adan
d2a4d24115
[IMP] web_tree_dynamic_colored_field: Update README.rst ( #899 )
...
Use more than one color condition
2020-03-19 11:37:58 +01:00
Guewen Baconnier
801bc5fcc0
web_tree_dynamic_colored_field: correct options examples in readme
2020-03-19 11:37:58 +01:00
Guewen Baconnier
c3bb0ab121
web_tree_dynamic_colored_field: Assume that color may not start with 'color_field'
...
The index at 0 in the following code:
var colorField = this.arch.attrs.colors.split(';')
.filter(color => color.trim().startsWith('color_field'))[0]
Was failing on such valid xml:
<tree string="Buffer monitor"
colors="red:procure_recommended_qty > 0">
2020-03-19 11:37:58 +01:00
Guewen Baconnier
67894c6ad5
web_tree_dynamic_colored_field: Parse field options with pyeval
...
The options in <field> attributes are parsed as python expressions:
d18976d748/addons/web/static/src/js/services/data_manager.js (L273)
And the options in <button> are parsed as json...
d18976d748/addons/web/static/src/js/services/data_manager.js (L411)
This code only support the <field> element because I'm not sure there
is a use for the <button> element.
2020-03-19 11:37:58 +01:00
Artem Kostyuk
2fe7b1553f
[MIG] web_tree_dynamic_colored_field: Migration to 11.0
2020-03-19 11:37:58 +01:00
jesusVMayor
5f937ffee6
Migration of web_tree_dynamic_colored_field to 10.0
2020-03-19 11:37:58 +01:00
Holger Brunn
58eb0738f5
web_tree_dynamic_colored_field v9
...
demo view
2020-03-19 11:37:58 +01:00
Holger Brunn
ef4be297ba
delete unused code, move files to standard locations
...
support color_field attribute
update manifest
higher version number bump
typo
2020-03-19 11:37:58 +01:00
Damien Crier
aecb612f61
[IMP] rename module to 'web_tree_dynamic_colored_field'
2020-03-19 11:37:58 +01:00
OCA-git-bot
6bbbc3cb07
Merge PR #1550 into 13.0
...
Signed-off-by legalsylvain
2020-03-17 10:59:04 +00:00
Lois Rilo
ba96690bc2
freeze dependency to avoid futures issues when the library gets updated
2020-03-17 10:59:51 +01:00
OCA-git-bot
9a7a9c9248
[ADD] setup.py
2020-03-17 08:41:29 +00:00
OCA-git-bot
539fd2cee8
[ADD] icon.png
2020-03-17 08:41:29 +00:00
OCA-git-bot
9f617c513f
[UPD] README.rst
2020-03-17 08:41:28 +00:00
oca-travis
f429a27d2e
[UPD] Update web_widget_mpld3_chart.pot
2020-03-17 08:36:16 +00:00
OCA-git-bot
6d364c2617
Merge PR #1549 into 13.0
...
Signed-off-by JordiBForgeFlow
2020-03-17 08:30:44 +00:00