Commit Graph

878 Commits

Author SHA1 Message Date
Guewen Baconnier
bfd1e74e05 web_tree_dynamic_colored_field: correct options examples in readme 2021-02-07 16:16:24 +07:00
Guewen Baconnier
02b388a36e 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">
2021-02-07 16:16:24 +07:00
Guewen Baconnier
d9d6725ada 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.
2021-02-07 16:16:24 +07:00
Artem Kostyuk
0b088efbd1 [MIG] web_tree_dynamic_colored_field: Migration to 11.0 2021-02-07 16:16:24 +07:00
jesusVMayor
1672dc9fa1 Migration of web_tree_dynamic_colored_field to 10.0 2021-02-07 16:16:24 +07:00
Holger Brunn
46f67f59fe web_tree_dynamic_colored_field v9
demo view
2021-02-07 16:16:24 +07:00
Holger Brunn
516a5f7fac delete unused code, move files to standard locations
support color_field attribute

update manifest

higher version number bump

typo
2021-02-07 16:16:24 +07:00
Damien Crier
36dfb5fd49 [IMP] rename module to 'web_tree_dynamic_colored_field' 2021-02-07 16:16:24 +07:00
OCA-git-bot
04237ca41a [UPD] README.rst 2021-02-04 08:49:29 +00:00
Jairo Llopis
edbd7dbd3f [IMP] web_dialog_size: add task to roadmap
It is important to let users decide their default dialog size. Some have ultrawide monitors and this module does more harm than benefit.

Here I add such task to roadmap, to avoid forgetting about it.

@Tecnativa
2021-02-04 08:49:11 +00:00
Francisco Ivan Anton Prieto
34d22da39c [MIG] web_company_color: Migration to 14.0 2021-01-21 20:04:09 +01:00
Francisco Ivan Anton Prieto
3307c59c12 [IMP] web_company_color: black, isort, prettier 2021-01-21 18:40:31 +01:00
Pedro M. Baeza
a0912e8691 [FIX] web_company_color: Resilient tests
We need to disable the company unlinking test, as if not, when tested
in integrated environments, it fails as there are records linked to the
company, like the warehouse when `stock` module is installed.
2021-01-21 18:31:23 +01:00
Dennis Sluijk
8906be1259 Translated using Weblate (Dutch)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-13.0/web-13.0-web_company_color
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_company_color/nl/
2021-01-21 18:31:23 +01:00
Dennis Sluijk
1b8d0de09c Added translation using Weblate (Dutch) 2021-01-21 18:31:23 +01:00
OCA-git-bot
2731b7347c [UPD] README.rst 2021-01-21 18:31:23 +01:00
OCA-git-bot
553075c7b3 [UPD] README.rst 2021-01-21 18:31:23 +01:00
黎伟杰
b1d306575e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (9 of 9 strings)

Translation: web-13.0/web-13.0-web_company_color
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_company_color/zh_CN/
2021-01-21 18:31:23 +01:00
Alessandro Fiorino
dbfb024ab9 Translated using Weblate (Italian)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-13.0/web-13.0-web_company_color
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_company_color/it/
2021-01-21 18:31:23 +01:00
Alessandro Fiorino
90869c5734 Added translation using Weblate (Italian) 2021-01-21 18:31:23 +01:00
OCA Transbot
909ec68231 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-13.0/web-13.0-web_company_color
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_company_color/
2021-01-21 18:31:23 +01:00
OCA-git-bot
260e99aad1 [UPD] README.rst 2021-01-21 18:31:23 +01:00
oca-travis
a5f6aaf1a7 [UPD] Update web_company_color.pot 2021-01-21 18:31:23 +01:00
Alexandre Díaz
b2d66099d3 [MIG] web_widget_color: Migration to 13.0 2021-01-21 18:31:23 +01:00
Alexandre Díaz
328c2f818c [IMP] web_company_color: black, isort, prettier 2021-01-21 18:31:23 +01:00
Bole
1c17fb909c Translated using Weblate (Croatian)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_company_color
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_company_color/hr/
2021-01-21 18:31:23 +01:00
Bole
8d81d4c608 Added translation using Weblate (Croatian) 2021-01-21 18:31:23 +01:00
OCA-git-bot
29c1b76343 web_company_color 12.0.1.1.0 2021-01-21 18:31:23 +01:00
Alexandre Díaz
9225054d38 [FIX] web_company_color: changed scss sanitized values 2021-01-21 18:31:23 +01:00
黎伟杰
a8e158d7a0 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (9 of 9 strings)

Translation: web-12.0/web-12.0-web_company_color
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_company_color/zh_CN/
2021-01-21 18:31:23 +01:00
黎伟杰
58daa6320a Added translation using Weblate (Chinese (Simplified)) 2021-01-21 18:31:23 +01:00
OCA-git-bot
4b51152d4c [UPD] README.rst 2021-01-21 18:31:23 +01:00
oca-travis
3245dedfe2 [UPD] Update web_company_color.pot 2021-01-21 18:31:23 +01:00
OCA-git-bot
cd8e001868 [ADD] icon.png 2021-01-21 18:31:23 +01:00
Alexandre Díaz
07613a490c [12.0][ADD] web_company_color (#1253) 2021-01-21 18:31:23 +01:00
Jairo Llopis
5c5eaf2c80 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2021-01-13 15:04:40 +01:00
oca-travis
cc373942b1 [UPD] Update web_tree_many2one_clickable.pot 2021-01-13 15:04:40 +01:00
Simone
83ee72c393 [MIG] web_tree_many2one_clickable: Migration to 13.0 2021-01-13 15:04:40 +01:00
Simone
87a2e2c2f7 [IMP] web_tree_many2one_clickable: black, isort 2021-01-13 15:04:40 +01:00
黎伟杰
3c73cfe3a3 Added translation using Weblate (Chinese (Simplified)) 2021-01-13 15:04:40 +01:00
OCA-git-bot
a9b0cb42d8 [UPD] README.rst 2021-01-13 15:04:40 +01:00
Alexandre Díaz
1930322ff0 [IMP] web_tree_many2one_clickable: Readme - USAGE 2021-01-13 15:04:40 +01:00
Alexandre Díaz
c7d5d26570 [MIG] web_tree_many2one_clickable: Migration to 12.0 2021-01-13 15:04:40 +01:00
Anand Kansagra
c1868953c4 [MIG] web_tree_many2one_clickable: Migration to 12.0. 2021-01-13 15:04:40 +01:00
oca-travis
4e253261d6 [UPD] Update web_tree_many2one_clickable.pot 2021-01-13 15:04:40 +01:00
Guewen Baconnier
5df78e7d1f web_tree_many2one_clickable: Check if the node is a field
If a list contains a node which is not a field (e.g. a button), it will
not be found in the fields so we'll have an error trying to get 'type'
from undefined.
2021-01-13 15:04:40 +01:00
Artem Kostyuk
b5ba15dabd [MIG] web_tree_many2one_clickable: Migration to 11.0 2021-01-13 15:04:40 +01:00
Atchuthan, Sodexis
c502ea513f [MIG] web_tree_many2one_clickable: Migrated to 10.0 2021-01-13 15:04:40 +01:00
Antonio Espinosa
5045847cc1 [MIG] web_tree_many2one_clickable: Migration to 9.0 2021-01-13 15:04:40 +01:00
Holger Brunn
7d83caabd6 support reference fields in many2one_clickable widget 2021-01-13 15:04:40 +01:00