Commit Graph

700 Commits (4a70a980e93b08d2356e774911e833320e2a64fb)

Author SHA1 Message Date
Pedro M. Baeza 081cf931f1 [IMP] web_widget_x2many_2d_matrix: Better options parsing 2022-02-18 09:33:22 +01:00
Pedro M. Baeza 500035ee37 [FIX] web_widget_x2many_2d_matrix: Use existing value in load_views 2022-02-18 09:33:22 +01:00
Pedro M. Baeza ec59e753c5 [IMP] web_widget_x2many_2d_matrix: Include x_axis_clickable and y_axis_clickable attrs
XML attributes for the widget that allows to configure if the axis will be clickable
or not in case the source field is a many2one field.
2022-02-18 09:33:22 +01:00
Jairo Llopis 60a71e5e20 [IMP] web_widget_x2many_2d_matrix: Use new JS modularized API. 2022-02-18 09:33:22 +01:00
Pedro M. Baeza e3375644cf [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2022-02-18 09:33:22 +01:00
Pedro M. Baeza c8ee9c02ae [IMP] web_widget_x2many_2d_matrix: New option field_att_<name>
Declare as many options prefixed with this string as you need for binding
a field value with an HTML node attribute (disabled, class, style...)
called as the `<name>` passed in the option.

NOTE: This doesn't prevent to require to fill the full matrix with
all the combination records.
2022-02-18 09:33:22 +01:00
Holger Brunn 6d9ec8eb55 [IMP] web_widget_x2many_2d_matrix: Several improvements
* README update to newest OCA template
* Example in README
* Massive performance boost for big matrices, specially on Firefox
* Assign id on row in order to find it back in all cases
* Fix #321, choked on cached writes
2022-02-18 09:33:22 +01:00
Pedro M. Baeza 75c10c5407 [MIG] Make modules uninstallable 2022-02-18 09:33:22 +01:00
Stéphane Bidoul a73771adbe [UPD] prefix versions with 8.0 2022-02-18 09:33:22 +01:00
Markus Schneider 465bdc7e7b remove comma 2022-02-18 09:33:22 +01:00
Markus Schneider 843a7be243 add OCA to author 2022-02-18 09:33:22 +01:00
Yannick Vaucher bf3371954b Add bug tracker link on README.rst 2022-02-18 09:33:22 +01:00
Holger Brunn 78ef5f067f [FIX] also reinitialize totals 2022-02-18 09:33:22 +01:00
Holger Brunn b2ac1b5407 [FIX] support rerendering after virtual ids change
this is necessary for correct operation after creating new records
2022-02-18 09:33:22 +01:00
Holger Brunn 9ce4562396 [IMP] better modularity 2022-02-18 09:33:22 +01:00
Holger Brunn 4f34a94473 [IMP] icon 2022-02-18 09:33:22 +01:00
Holger Brunn e14b376906 [IMP] add screenshot, example in README 2022-02-18 09:33:22 +01:00
Holger Brunn bea6f42160 [IMP] use semantic css classes instead of element names
[RFR] and being on it, make reacting to changes in overrides simple
2022-02-18 09:33:22 +01:00
Holger Brunn 59733e8777 [IMP] we don't need data-x and data-y on the input 2022-02-18 09:33:22 +01:00
Holger Brunn 5131dea7cf [ADD] validation
[IMP] write formatted value to back to input
2022-02-18 09:33:22 +01:00
Holger Brunn ddb18f4db9 [FIX] setup focus 2022-02-18 09:33:22 +01:00
Holger Brunn 16a289cd3a [FIX] replace therp icon 2022-02-18 09:33:22 +01:00
Holger Brunn 8c2df69691 [IMP] pass computed totals to inheriting function 2022-02-18 09:33:22 +01:00
Holger Brunn da1512e65c [FIX] update readonly value after editing 2022-02-18 09:33:22 +01:00
Holger Brunn 5f718facd0 [IMP] support changing readonly state 2022-02-18 09:33:22 +01:00
Holger Brunn 6bdb0cd2d8 [IMP] collapse whitespace in rows 2022-02-18 09:33:22 +01:00
Holger Brunn 08d687be94 [IMP] handle readonly flag
[ADD] show grand total
[IMP] classify floats as floats
2022-02-18 09:33:21 +01:00
Holger Brunn 9b7870d35b [ADD] allow to open linked record
of one of the axes is a many2one field
2022-02-18 09:33:21 +01:00
Holger Brunn 170c7d94b2 [FIX] use odoo's parse_value 2022-02-18 09:33:21 +01:00
Holger Brunn a6d5482409 [IMP] show column totals in table footer 2022-02-18 09:33:21 +01:00
Holger Brunn 55fe6c6069 [UPD] readme 2022-02-18 09:33:21 +01:00
Holger Brunn 79e09dd753 [ADD] web_widget_x2many_2d_matrix 2022-02-18 09:33:21 +01:00
OCA-git-bot f1af048c83 [ADD] setup.py 2022-02-04 07:59:09 +00:00
OCA-git-bot 3a39148695 [UPD] addons table in README.md 2022-02-04 07:59:07 +00:00
oca-ci 2afc7e07dc [UPD] Update web_widget_domain_editor_dialog.pot 2022-02-04 07:56:27 +00:00
OCA-git-bot e45f3c19df Merge PR #2129 into 15.0
Signed-off-by pedrobaeza
2022-02-04 07:53:46 +00:00
david c975b495ce [IMP/FIX] web_widget_domain_editor_dialog: work in dialog
- IMP: Now it's possible to work with the domain editor when the widget
has de in_dialog option.
- FIX: When a boolean opertator was present in the domain, the editor dialog
would raise an error as the default filter couldn't be interpretated.

TT32827
2022-01-28 19:26:07 -05:00
Raf Ven b2f1b16842 [MIG] web_domain_field: Migration to 15.0 2022-01-27 11:09:44 +01:00
Raf Ven 922289f949 [IMP] web_domain_field: black, isort 2022-01-27 10:01:12 +01:00
OCA Transbot dd44928c30 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-14.0/web-14.0-web_domain_field
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_domain_field/
2022-01-27 10:00:58 +01:00
oca-travis 046f363fa7 [UPD] Update web_domain_field.pot 2022-01-27 10:00:58 +01:00
hparfr 4f681d1165 [MIG] web_domain_field: Migration to 14.0 2022-01-27 10:00:58 +01:00
claudiagn 3166687041 Added translation using Weblate (Spanish) 2022-01-27 10:00:58 +01:00
Sudhir Arya 8016d0efd3 [FIX] Fixed the pyeval.js pah in assets_backend. 2022-01-27 10:00:58 +01:00
Jairo Llopis bd962210a0 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2022-01-27 10:00:58 +01:00
laurent.corron 50a4f34415 [MIG] web_domain_field: Migration to 13.0 2022-01-27 10:00:58 +01:00
laurent.corron b80d0912c6 [REF] web_domain_field: Black python code 2022-01-27 10:00:58 +01:00
Pedro M. Baeza 9c1e1c0a92 [FIX] web_domain_field: Fix README syntax 2022-01-27 10:00:58 +01:00
Denis Roussel c83b5091f0 [10.0][MIG] Migrates web_domain_field 2022-01-27 10:00:58 +01:00
Laurent Mignon (ACSONE) e432137e21 New web_domain_field addon 2022-01-27 10:00:58 +01:00