Commit Graph

1473 Commits (c06ea6d2aa7fff98a00574b8fe5ca2b2dad60d9c)

Author SHA1 Message Date
OCA-git-bot 6c5e33143f [ADD] icon.png 2022-11-16 15:19:44 +00:00
oca-travis 78f1dd815d [UPD] Update web_widget_many2one_simple.pot 2022-11-16 15:19:44 +00:00
Alexandre D. Díaz 575daf2e68 [ADD] web_widget_many2one_simple 2022-11-16 15:19:44 +00:00
Pedro M. Baeza 64f34f7c73
Merge pull request #2339 from Tecnativa/15.0-copier
[15.0][FIX] Update copier template
2022-11-16 16:19:08 +01:00
Pedro M. Baeza 8c0d3f432d [FIX] Update copier template
To avoid the Flake8 Gitlab problem.
2022-11-16 16:14:49 +01:00
Pedro M. Baeza 2345854b76
Merge pull request #2332 from c4a8-odoo/15.0-imp-template
[15.0][DCK] Updated from template
2022-11-09 11:55:22 +01:00
CRogos 0d15c617b4 [15.0][FIX] Remove tests from init 2022-11-09 11:42:50 +01:00
CRogos 514beedf3c [15.0][DCK] Updated from template 2022-11-09 11:05:07 +01:00
OCA-git-bot 8bde427857 [UPD] addons table in README.md 2022-10-31 07:33:56 +00:00
OCA-git-bot fccf64d861 web_timeline 15.0.1.0.1 2022-10-31 07:33:51 +00:00
OCA-git-bot 84b9c1b4f2 Merge PR #2293 into 15.0
Signed-off-by pedrobaeza
2022-10-31 07:30:28 +00:00
jguenat 3056645025 [FIX] web_timeline: updateProm.finally is not a function
Following odoo#102621 an UncaughtPromiseError > TypeError occured each time an update was triggered in timeline view
Fixed by returning super
2022-10-29 14:17:00 +02:00
jguenat 5cb4d75892 [FIX] web_timeline: utc and create_completed
fix wrong time used when creating new record

on record creation timeline view was reloaded and all items disappeared
fix by removing unnecessary reload
2022-10-29 14:16:23 +02:00
Stéphane Bidoul 6cca115ac3 web_calendar_slot_duration fix symlink 2022-10-25 23:36:09 +02:00
OCA-git-bot a035376754 [UPD] addons table in README.md 2022-10-25 16:08:11 +00:00
OCA-git-bot fd7875dc10 web_domain_field 15.0.1.0.1 2022-10-25 16:08:06 +00:00
OCA-git-bot 17fa852787 Merge PR #2313 into 15.0
Signed-off-by pedrobaeza
2022-10-25 15:52:14 +00:00
Weblate 0081c37cd3 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-15.0/web-15.0-web_tree_dynamic_colored_field
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_tree_dynamic_colored_field/
2022-10-17 15:52:41 +00:00
OCA-git-bot b6008672d4 [ADD] setup.py 2022-10-17 13:55:46 +00:00
OCA-git-bot 80a580fd93 [UPD] README.rst 2022-10-17 13:55:45 +00:00
OCA-git-bot 4325db5e19 [UPD] addons table in README.md 2022-10-17 13:55:40 +00:00
oca-ci 1cf6268ab8 [UPD] Update web_tree_dynamic_colored_field.pot 2022-10-17 13:53:17 +00:00
OCA-git-bot 44548ea658 Merge PR #2145 into 15.0
Signed-off-by pedrobaeza
2022-10-17 13:50:41 +00:00
Adam Heinz 660966273c [MIG] web_tree_dynamic_colored_field: Migration to 15.0 2022-10-17 08:35:32 -04:00
Adam Heinz a9eb43b835 [IMP] web_tree_dynamic_colored_field: black, isort, prettier 2022-10-17 08:35:32 -04:00
Sylvain LE GAL 9994bc636b [IMP] web_tree_dynamic_colored_field : Add bg_color_field option 2022-10-17 08:35:32 -04:00
OCA-git-bot b9c18e2715 [UPD] README.rst 2022-10-14 15:38:43 -04:00
oca-travis 3a1cd68c35 [UPD] Update web_tree_dynamic_colored_field.pot 2022-10-14 15:38:43 -04:00
Tran Thanh Phuc 5e78dc9807 [MIG] web_tree_dynamic_colored_field: Migration to 14.0 2022-10-14 15:38:43 -04:00
Tran Thanh Phuc a4b80ed041 [IMP] web_tree_dynamic_colored_field: black, isort, prettier 2022-10-14 15:38:43 -04:00
OCA-git-bot 8215e53fe0 [UPD] README.rst 2022-10-14 15:38:43 -04:00
OCA-git-bot c951b5db14 [UPD] README.rst 2022-10-14 15:38:43 -04:00
OCA Transbot 9998fae493 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/
2022-10-14 15:38:43 -04:00
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