3
0
Fork 0
Commit Graph

1611 Commits (327f3cc4329ba86626316ec701ddecbe705dc14c)

Author SHA1 Message Date
OCA-git-bot 9a66f0b240 [UPD] README.rst 2022-10-14 15:38:43 -04:00
oca-travis eab3258486 [UPD] Update web_tree_dynamic_colored_field.pot 2022-10-14 15:38:43 -04:00
Guewen Baconnier 63f003ca87 run pre-commit with new prettiers 2022-10-14 15:38:43 -04:00
Guewen Baconnier be4dd77e73 Run pre-commit and fix js issues after rebase on new config 2022-10-14 15:38:43 -04:00
Guewen Baconnier 4b1f3fe09c 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.
2022-10-14 15:38:43 -04:00
Guewen Baconnier 2b4dc24b42 [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)
2022-10-14 15:38:43 -04:00
Guewen Baconnier c28d6f9c02 [REF] web_tree_dynamic_colored_field: Black python code 2022-10-14 15:38:43 -04:00
OCA Transbot b1052d7232 OCA Transbot updated translations from Transifex 2022-10-14 15:38:43 -04:00
OCA-git-bot ec257faabc [UPD] README.rst 2022-10-14 15:38:43 -04:00
Adrià Gil Sorribes ec668cb735 remove pyeval class and fixup 2022-10-14 15:38:43 -04:00
mreficent bc30e8984e web_tree_dynamic_colored_field: Migration to 12.0 2022-10-14 15:38:43 -04:00
Damien Crier 80226277a2 Update README because of wrong license
Found in this commit: 3965057913
2022-10-14 15:38:42 -04:00
QS5ELkMu 87fda46020 [FIX] Issue #906 2022-10-14 15:38:42 -04:00
Luis Adan f89cdc27c6 [IMP] web_tree_dynamic_colored_field: Update README.rst (#899)
Use more than one color condition
2022-10-14 15:38:42 -04:00
Guewen Baconnier 5b78e199e6 web_tree_dynamic_colored_field: correct options examples in readme 2022-10-14 15:38:42 -04:00
Guewen Baconnier 583df6899a 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">
2022-10-14 15:38:42 -04:00
Guewen Baconnier 46bc1f4de0 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.
2022-10-14 15:38:42 -04:00
Artem Kostyuk b7759d0871 [MIG] web_tree_dynamic_colored_field: Migration to 11.0 2022-10-14 15:38:42 -04:00
jesusVMayor 6070a45d1d Migration of web_tree_dynamic_colored_field to 10.0 2022-10-14 15:38:42 -04:00
Holger Brunn 0036c3237a web_tree_dynamic_colored_field v9
demo view
2022-10-14 15:38:42 -04:00
Holger Brunn ce372f6c5a delete unused code, move files to standard locations
support color_field attribute

update manifest

higher version number bump

typo
2022-10-14 15:38:42 -04:00
Damien Crier 49f3cf0d66 [IMP] rename module to 'web_tree_dynamic_colored_field' 2022-10-14 15:38:42 -04:00
OCA-git-bot bf2c8eff0d [ADD] setup.py 2022-10-11 07:57:33 +00:00
OCA-git-bot b99fa117dc [UPD] README.rst 2022-10-11 07:57:31 +00:00
OCA-git-bot 36d8896936 [UPD] addons table in README.md 2022-10-11 07:57:25 +00:00
Pedro M. Baeza 3954051426
Merge pull request #2251 from CRogos/15.0-mig-web_calendar_slot_duration
[15.0][MIG] web_calendar_slot_duration: Migration to 15.0
2022-10-11 09:57:02 +02:00
Ivàn Todorovich ca0f3a2bcc
[IMP] web_domain_field: Add unit tests 2022-10-05 15:28:38 +02:00
OCA-git-bot 879d66d053 [ADD] setup.py 2022-10-04 07:17:42 +00:00
OCA-git-bot 849db28448 [UPD] README.rst 2022-10-04 07:17:42 +00:00
OCA-git-bot ee1b227e04 [UPD] addons table in README.md 2022-10-04 07:17:37 +00:00
oca-ci 3aed7a29c5 [UPD] Update web_ir_actions_act_view_reload.pot 2022-10-04 07:15:15 +00:00
OCA-git-bot 6c9500c942 Merge PR #2272 into 15.0
Signed-off-by etobella
2022-10-04 07:13:17 +00:00
sergio-teruel 6171f34c6c [MIG] web_pwa_oca: Migration to v15.0 2022-10-03 21:42:58 +02:00
KKamaa 3a651577f1 [FIX] isort, prettier, black: JS lint in all affect modules 2022-10-03 21:28:57 +02:00
Rodrigo Macedo 5c8f37bbec Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (19 of 19 strings)

Translation: web-14.0/web-14.0-web_pwa_oca
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_pwa_oca/pt_BR/
2022-10-03 21:28:57 +02:00
OCA-git-bot 5973567ce3 [UPD] README.rst 2022-10-03 21:28:57 +02:00
oca-travis 47737e6f0c [UPD] Update web_pwa_oca.pot 2022-10-03 21:28:57 +02:00
Olga Marco 3ae595d0d9 [MIG] web_pwa_oca: Migration to 14.0 2022-10-03 21:28:57 +02:00
Olga Marco 0d12fa42d6 [IMP] web_pwa_oca: black, isort, prettier 2022-10-03 21:28:57 +02:00
Ignacio Buioli 466781b662 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (19 of 19 strings)

Translation: web-13.0/web-13.0-web_pwa_oca
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_pwa_oca/es_AR/
2022-10-03 21:28:57 +02:00
Pedro M. Baeza 6b820d48d7 [FIX] web_pwa_oca: Guess properly mimetype
It seems since 3bd0327d6d
that the mimetype detection is not working properly for not fully
compliant SVG.

Let's resave SVG for having a compatible one + add a pointer when the
mimetype doesn't conform.
2022-10-03 21:28:57 +02:00
Alexandre D. Díaz 23b7e14206 [FIX] web_pwa_oca: Tests 2022-10-03 21:28:57 +02:00
Jairo Llopis 44c35873f2 [FIX] apply and respect pre-commit hooks 2022-10-03 21:28:57 +02:00
Ignacio Buioli cb1485bebf Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (19 of 19 strings)

Translation: web-13.0/web-13.0-web_pwa_oca
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_pwa_oca/es_AR/
2022-10-03 21:28:57 +02:00
Ignacio Buioli 8948a15142 Added translation using Weblate (Spanish (Argentina)) 2022-10-03 21:28:57 +02:00
Eder Brito 965e72bbde Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (19 of 19 strings)

Translation: web-13.0/web-13.0-web_pwa_oca
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_pwa_oca/pt_BR/
2022-10-03 21:28:57 +02:00
Eder Brito 6cf2590640 Added translation using Weblate (Portuguese (Brazil)) 2022-10-03 21:28:57 +02:00
Alexandre D. Díaz 1194498f2e [IMP] web_pwa_oca: Port changes from 12.0 2022-10-03 21:28:57 +02:00
claudiagn c1afeed3c1 Translated using Weblate (Spanish)
Currently translated at 7.1% (1 of 14 strings)

Translation: web-13.0/web-13.0-web_pwa_oca
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_pwa_oca/es/
2022-10-03 21:28:57 +02:00
claudiagn ddd42a8a1f Added translation using Weblate (Spanish) 2022-10-03 21:28:57 +02:00