3
0
Fork 0
Commit Graph

537 Commits (db6a2e438c24f72ea696f4d7afa1255adfcf4c4b)

Author SHA1 Message Date
Adam Heinz 1836beb7e6 [MIG] web_tree_dynamic_colored_field: Migration to 15.0 2024-03-12 14:11:37 +02:00
Adam Heinz c254c20e32 [IMP] web_tree_dynamic_colored_field: black, isort, prettier 2024-03-12 14:11:37 +02:00
Sylvain LE GAL 110d8cd081 [IMP] web_tree_dynamic_colored_field : Add bg_color_field option 2024-03-12 14:11:37 +02:00
oca-travis 0afaa35fca [UPD] Update web_tree_dynamic_colored_field.pot
[UPD] README.rst
2024-03-12 14:11:37 +02:00
Tran Thanh Phuc a9450c490a [MIG] web_tree_dynamic_colored_field: Migration to 14.0 2024-03-12 14:11:36 +02:00
Tran Thanh Phuc a13aca8b6e [IMP] web_tree_dynamic_colored_field: black, isort, prettier 2024-03-12 14:11:36 +02:00
oca-travis 56e56b9cce [UPD] Update web_tree_dynamic_colored_field.pot
[UPD] README.rst
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/
2024-03-12 14:11:36 +02:00
Guewen Baconnier b1c440278f run pre-commit with new prettiers 2024-03-12 13:47:40 +02:00
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
Cuong, Nguyen Minh Tran Manh 59e09b776a [IMP] web_remember_tree_column_width: pre-commit auto fixes 2024-01-19 18:37:36 +07:00
mymage fc37f0a21e Added translation using Weblate (Italian) 2024-01-19 18:37:19 +07:00
OCA-git-bot c7eeac4d74 [BOT] post-merge updates 2024-01-19 18:37:19 +07:00
thibault 52552c82b1 [FIX] web_remember_tree_column_width : Column resizing with list_button column
Fix an error when retrieving column sizes for lists containing one or more list_button columns.
This error occurs when a list_button column is placed between other columns in the list. This type of column is excluded from the querySelector string used to retrieve column headers, which can cause the index to shift and the column size to change when the list is displayed.
2024-01-19 18:37:19 +07:00
OCA-git-bot b39ffdb200 [UPD] README.rst 2024-01-19 18:37:19 +07:00
OCA-git-bot 4bfdafb709 [UPD] README.rst 2024-01-19 18:37:19 +07:00
oca-ci 0bf5569d5d [UPD] Update web_remember_tree_column_width.pot 2024-01-19 18:37:19 +07:00
Cuong, Nguyen Minh Tran Manh e8924ebe8f [MIG] web_remember_tree_column_width: Migration to 16.0 2024-01-19 18:37:19 +07:00