Commit Graph

366 Commits (b7386330d0e22d9809f01fe8cb1cb1aedc130bc2)

Author SHA1 Message Date
Guewen Baconnier b7386330d0 Run pre-commit and fix js issues after rebase on new config 2024-03-12 13:47:40 +02:00
Guewen Baconnier a706cb2a2d 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.
2024-03-12 13:47:40 +02:00
Guewen Baconnier b14ea17570 [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)
2024-03-12 13:47:40 +02:00
Guewen Baconnier 240dd5e041 [REF] web_tree_dynamic_colored_field: Black python code 2024-03-12 13:47:40 +02:00
OCA Transbot fef6fa4944 OCA Transbot updated translations from Transifex 2024-03-12 13:47:40 +02:00
OCA-git-bot eed76419cc [UPD] README.rst 2024-03-12 13:47:40 +02:00
Adrià Gil Sorribes 789aad6eed remove pyeval class and fixup 2024-03-12 13:47:40 +02:00
mreficent 0d0d26d6c3 web_tree_dynamic_colored_field: Migration to 12.0 2024-03-12 13:47:40 +02:00
Damien Crier c4f3c551ee Update README because of wrong license
Found in this commit: 3965057913
2024-03-12 13:47:40 +02:00
QS5ELkMu 866f828c92 [FIX] Issue #906 2024-03-12 13:47:40 +02:00
Luis Adan a6afb0c85d [IMP] web_tree_dynamic_colored_field: Update README.rst (#899)
Use more than one color condition
2024-03-12 13:47:40 +02:00
Guewen Baconnier 482bbcb454 web_tree_dynamic_colored_field: correct options examples in readme 2024-03-12 13:47:40 +02:00
Guewen Baconnier 3922a0e048 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">
2024-03-12 13:47:40 +02:00
Guewen Baconnier 2461590c75 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.
2024-03-12 13:47:40 +02:00
Artem Kostyuk 1a822faf01 [MIG] web_tree_dynamic_colored_field: Migration to 11.0 2024-03-12 13:47:40 +02:00
jesusVMayor b33a0d9ef5 Migration of web_tree_dynamic_colored_field to 10.0 2024-03-12 13:47:40 +02:00
Holger Brunn 2ee7e6a96e web_tree_dynamic_colored_field v9
demo view
2024-03-12 13:47:40 +02:00
Holger Brunn 0bec4a1c74 delete unused code, move files to standard locations
support color_field attribute

update manifest

higher version number bump

typo
2024-03-12 13:47:40 +02:00
Damien Crier 770df440f4 [IMP] rename module to 'web_tree_dynamic_colored_field' 2024-03-12 13:47:40 +02:00
mymage 481ce4ec97 Translated using Weblate (Italian)
Currently translated at 100.0% (29 of 29 strings)

Translation: web-17.0/web-17.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_responsive/it/
2024-02-12 11:39:29 +00:00
Ivorra78 6d2d7649dd Translated using Weblate (Spanish)
Currently translated at 100.0% (29 of 29 strings)

Translation: web-17.0/web-17.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_responsive/es/
2024-02-06 19:37:02 +00:00
Ivorra78 c0751a7d35 Translated using Weblate (Spanish)
Currently translated at 100.0% (2 of 2 strings)

Translation: web-17.0/web-17.0-web_refresher
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_refresher/es/
2024-02-06 19:37:02 +00:00
mymage fe0cd5f5cd Translated using Weblate (Italian)
Currently translated at 100.0% (2 of 2 strings)

Translation: web-17.0/web-17.0-web_refresher
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_refresher/it/
2024-02-04 16:34:09 +00:00
mymage 0e94dd11aa Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-17.0/web-17.0-web_environment_ribbon
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_environment_ribbon/it/
2024-02-04 16:34:09 +00:00
mymage bc9610a269 Added translation using Weblate (Italian) 2024-02-04 13:31:40 +00:00
mymage 811f455df6 Added translation using Weblate (Italian) 2024-02-04 13:31:35 +00:00
mymage aa8ee48d50 Added translation using Weblate (Italian) 2024-02-04 12:43:26 +00:00
Weblate 85a4cb5b25 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-17.0/web-17.0-web_no_bubble
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_no_bubble/
2024-02-03 20:06:50 +00:00
Weblate 62f8e0ae1d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-17.0/web-17.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_responsive/
2024-02-03 20:06:41 +00:00
Weblate eb096cd3e0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-17.0/web-17.0-web_refresher
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_refresher/
2024-02-03 19:38:55 +00:00
OCA-git-bot dc9d4574cc [BOT] post-merge updates 2024-01-19 15:16:12 +00:00
oca-ci 5f73fc19e3 [UPD] Update web_responsive.pot 2024-01-19 15:14:03 +00:00
OCA-git-bot 630901172c Merge PR #2684 into 17.0
Signed-off-by pedrobaeza
2024-01-19 15:12:04 +00:00
Taras Shabaranskyi 7d4e65dac6 [MIG] web_responsive: Migration to 17.0 2024-01-19 16:59:57 +02:00
OCA-git-bot 9ee7803771 [BOT] post-merge updates 2024-01-19 08:26:44 +00:00
oca-ci 644a301880 [UPD] Update web_no_bubble.pot 2024-01-19 08:25:02 +00:00
OCA-git-bot cab8f2e654 Merge PR #2708 into 17.0
Signed-off-by pedrobaeza
2024-01-19 08:23:37 +00:00
Andrea Stirpe 3704b3ee1a [IMP] web_no_bubble: migration to 17.0 2024-01-02 17:24:55 +01:00
Andrea Stirpe 4d5ed2b6b2 [IMP] web_no_bubble: pre-commit 2024-01-02 17:22:26 +01:00
mymage 88b5006287 Added translation using Weblate (Italian) 2024-01-02 17:12:57 +01:00
Rémi 1f9c8022ee Deleted translation using Weblate (French) 2024-01-02 17:12:57 +01:00
Rémi 1a94e6b508 Added translation using Weblate (French) 2024-01-02 17:12:57 +01:00
OCA-git-bot 833b52d142 [UPD] README.rst 2024-01-02 17:12:57 +01:00
OCA-git-bot 41bbf61f98 [UPD] README.rst 2024-01-02 17:12:57 +01:00
oca-ci 4aaaaf7584 [UPD] Update web_no_bubble.pot 2024-01-02 17:12:57 +01:00
Andrea Stirpe 44ab067547 [16.0][MIG] web_no_bubble 2024-01-02 17:12:57 +01:00
OCA Transbot 9a27fcdf6b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-15.0/web-15.0-web_no_bubble
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_no_bubble/
2024-01-02 17:12:57 +01:00
OCA-git-bot d5a0a8f91f [UPD] README.rst 2024-01-02 17:12:57 +01:00
oca-ci 5a253f60c8 [UPD] Update web_no_bubble.pot 2024-01-02 17:12:57 +01:00
Thanakrit Pintana c701740d46 [MIG] web_no_bubble: Migration to 15.0 2024-01-02 17:12:57 +01:00