Commit Graph

598 Commits

Author SHA1 Message Date
OCA-git-bot
cf8eb036a8 [UPD] README.rst 2021-02-07 16:16:24 +07:00
oca-travis
3c8d960e1f [UPD] Update web_tree_dynamic_colored_field.pot 2021-02-07 16:16:24 +07:00
Guewen Baconnier
a8f9c63703 run pre-commit with new prettiers 2021-02-07 16:16:24 +07:00
Guewen Baconnier
d51293f2d6 Run pre-commit and fix js issues after rebase on new config 2021-02-07 16:16:24 +07:00
Guewen Baconnier
e3d01cb0f6 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.
2021-02-07 16:16:24 +07:00
Guewen Baconnier
0cb325f1f8 [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)
2021-02-07 16:16:24 +07:00
Guewen Baconnier
da9798d819 [REF] web_tree_dynamic_colored_field: Black python code 2021-02-07 16:16:24 +07:00
OCA Transbot
e4d7a72953 OCA Transbot updated translations from Transifex 2021-02-07 16:16:24 +07:00
OCA-git-bot
d8b6dbe1f6 [UPD] README.rst 2021-02-07 16:16:24 +07:00
Adrià Gil Sorribes
47886d76ee remove pyeval class and fixup 2021-02-07 16:16:24 +07:00
mreficent
6d06012260 web_tree_dynamic_colored_field: Migration to 12.0 2021-02-07 16:16:24 +07:00
Damien Crier
fc35c01e97 Update README because of wrong license
Found in this commit: 3965057913
2021-02-07 16:16:24 +07:00
QS5ELkMu
a3d6e5a60e [FIX] Issue #906 2021-02-07 16:16:24 +07:00
Luis Adan
3a14a3992c [IMP] web_tree_dynamic_colored_field: Update README.rst (#899)
Use more than one color condition
2021-02-07 16:16:24 +07:00
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
hparfr
f60a00ba04 [MIG] web_domain_field: Migration to 14.0 2021-01-13 00:33:41 +01:00
hparfr
23d9c60542 [IMP] web_domain_field: black, isort, prettier 2021-01-13 00:33:41 +01:00
claudiagn
5e8feb04b7 Added translation using Weblate (Spanish) 2021-01-13 00:33:31 +01:00
Sudhir Arya
6c3708dd0b [FIX] Fixed the pyeval.js pah in assets_backend. 2021-01-13 00:33:31 +01:00
Jairo Llopis
887febf518 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2021-01-13 00:33:31 +01:00
laurent.corron
eb95d6887d [MIG] web_domain_field: Migration to 13.0 2021-01-13 00:33:31 +01:00
laurent.corron
892cf127ff [REF] web_domain_field: Black python code 2021-01-13 00:33:31 +01:00
Pedro M. Baeza
8d014c74db [FIX] web_domain_field: Fix README syntax 2021-01-13 00:33:30 +01:00
Denis Roussel
f88567797c [10.0][MIG] Migrates web_domain_field 2021-01-13 00:33:30 +01:00
Laurent Mignon (ACSONE)
140f0b5192 New web_domain_field addon 2021-01-13 00:33:30 +01:00
Robin Conjour
efa1af67b1 [IMP] web_copy_confirm: black, isort, prettier 2021-01-04 17:18:34 +01:00
Stefan Rijnhart
fca241c9d5 [ADD] Ask for confirmation when copying records
[UPD] Update web_copy_confirm.pot

[ADD] icon.png
2021-01-04 17:18:28 +01:00
oca-git-bot
8f0767dcc0 [IMP] update dotfiles [ci skip] 2020-12-11 20:27:23 +01:00
Saran440
37128640c4 [14.0][MIG] web_widget_x2many_2d_matrix 2020-11-13 10:59:18 +07:00
Saran440
b0f3bb944f [IMP] web_widget_x2many_2d_matrix: black, isort, prettier 2020-11-13 10:59:18 +07:00
Alexey Pelykh
0e8d745599 [UPD] Brainbean Apps => CorporateHub 2020-11-13 10:59:15 +07:00
c2cdidier
0c45791d33 Translated using Weblate (German)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-13.0/web-13.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_x2many_2d_matrix/de/
2020-11-13 10:59:15 +07:00
Alexandre Díaz
cd077b85a4 [IMP] web_widget_x2many_2d_matrix: Debug mode 2020-11-13 10:59:09 +07:00
OCA Transbot
ce4bec7d21 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-13.0/web-13.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_x2many_2d_matrix/
2020-11-13 10:59:07 +07:00
Adrià Gil Sorribes
cdc02e9caa [13.0][MIG] web_widget_x2many_2d_matrix 2020-11-13 10:59:01 +07:00
Adrià Gil Sorribes
c93cfe088b [IMP] web_widget_x2many_2d_matrix: black, isort 2020-11-13 10:59:01 +07:00
Pablo Fuentes
4d1b8b9c01 [FIX] web_widget_x2many_2d_matrix: Ensure lines order
As objects are unordered collections of properties, we ensure incoming lines order by using lists
2020-11-13 10:59:01 +07:00
Alexandre Díaz
7068db632d [IMP] web_widget_x2many_matrix: Sticky header, footer rows and main, totals columns 2020-11-13 10:58:57 +07:00
Pablo Fuentes
42ab487a2f [FIX] web_widget_x2many_2d_matrix: Wrong widget
In previous versions _setSubViewLimit was defined at AbstractView widget but in v12 is defined at FormView widget
2020-11-13 10:58:51 +07:00
Bole
e963f4436c Translated using Weblate (Croatian)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_x2many_2d_matrix/hr/
2020-11-13 10:58:51 +07:00
Alexandre Díaz
b76315d6e3 [FIX] web_widget_x2many_2d_matrix: Force render in list mode on mobile 2020-11-13 10:58:51 +07:00