Commit Graph

1056 Commits (6da9187d60fea39da01b758b4a12f51b0b490dce)

Author SHA1 Message Date
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 &gt; 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
Alexandre Díaz 0732a98b84 [MIG] web_advance_search: Migration to 13.0 2020-03-18 19:17:16 +01:00
Adrià Gil Sorribes bb1fd8703a [FIX] prevent drop when no record id is found 2020-03-18 15:32:30 +01:00
Núria Martín Xifré f35b49ac57 [13.0][MIG] web_drop_target 2020-03-18 14:55:05 +01:00
Núria Martín Xifré 97937be199 [IMP] web_drop_target: black, isort 2020-03-18 14:55:05 +01:00
OCA Transbot cb97a80bdd Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_drop_target
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_drop_target/
2020-03-18 14:55:05 +01:00
OCA-git-bot 7034c50d3c [UPD] README.rst 2020-03-18 14:55:05 +01:00
oca-travis 400a181af4 [UPD] Update web_drop_target.pot 2020-03-18 14:55:05 +01:00
George Daramouskas 10f1e6755f fixup! [MIG] Migrate web_drop_target to 12.0 2020-03-18 14:55:05 +01:00
George Daramouskas 19a865d929 [MIG] Migrate web_drop_target to 12.0 2020-03-18 14:55:05 +01:00
OCA-git-bot 87c3882215 [UPD] README.rst 2020-03-18 14:55:05 +01:00
OCA-git-bot 55817cb0d7 [UPD] README.rst 2020-03-18 14:55:05 +01:00
oca-travis e165b0e201 [UPD] Update web_drop_target.pot 2020-03-18 14:55:05 +01:00
Enric Tobella 6c11acadac [FIX] web_drop_target: Process only if you are on the expected area 2020-03-18 14:55:05 +01:00
Akim Juillerat fec0941ee5 [i18n] Add french translation 2020-03-18 14:55:05 +01:00
Pablo Fuentes 5c7c67e8a3 [IMP] web_drop_target: Make sure is a Blob object
Make sure that when a File is dropped into a form the event is propagated and the action only takes place when the element dropped is actually a Blob object.

Taken from #1209

Co-Authored-By: George Daramouskas <daramousk@users.noreply.github.com>
2020-03-18 14:55:05 +01:00
Pablo Fuentes e38c31dfff [IMP] web_drop_target: Handle FilerReader error 2020-03-18 14:55:05 +01:00
Akim Juillerat bc20a66c3f [IMP] Make web_drop_target IE11 compliant 2020-03-18 14:55:05 +01:00
Akim Juillerat 2cd4fd5fdf Make _handle_drop_items extensible to prevent multiple rpc calls 2020-03-18 14:55:05 +01:00
Pablo Fuentes c3467d9787 [FIX] web_drop_target: remove ES6 sintax 2020-03-18 14:55:05 +01:00
Pablo Fuentes 37250086ab [IMP] web_drop_target: Add contributor and screenshot 2020-03-18 14:55:05 +01:00
Pablo Fuentes eedbf1b22e [IMP] web_drop_target: Upload multiple files 2020-03-18 14:55:05 +01:00
George Daramouskas 731a5e717d [FIX] web_drop_target Make sure that when a File is dropped into a form the event is propagated and the action only takes place when the element dropped is actually a Blob object 2020-03-18 14:55:05 +01:00
OCA-git-bot 81ac6fb765 [UPD] README.rst 2020-03-18 14:55:05 +01:00
Stéphane Bidoul (ACSONE) 33663afc6b [FIX] title level in readme fragment 2020-03-18 14:55:05 +01:00
oca-travis ec3fb34b6c [UPD] Update web_drop_target.pot 2020-03-18 14:55:05 +01:00
Akim Juillerat e886cec637 [MIG] web_drop_target : Migration to 11.0 2020-03-18 14:55:05 +01:00
Holger Brunn 89e627764a [ADD] web_drop_target 2020-03-18 14:55:05 +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