3
0
Fork 0
Commit Graph

510 Commits (97937be199690cacca377e592a15d7729e3fdbcc)

Author SHA1 Message Date
Jairo Llopis f39fdc94c9 [FIX] web_widget_x2many_2d_matrix: Allow empty cells
Before this commit, if a matrix was lacking one element, some ugly errors appeared to the user.

Now, it just displays the empty cell and lets the user go on.

Also, acknowledge another limitation of the widget and add it to roadmap.
2020-03-05 08:17:01 +01:00
Jairo Llopis f5dde1577d [FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation 2020-03-05 08:17:01 +01:00
Jairo Llopis 36913cd896 [FIX] web_widget_x2many_2d_matrix: Fix linters 2020-03-05 08:17:01 +01:00
Rodrigo Macedo 90f7159b80 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100,0% (1 of 1 strings)

Translation: web-11.0/web-11.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_widget_x2many_2d_matrix/pt_BR/
2020-03-05 08:17:01 +01:00
oca-travis c7d68fe08f [UPD] Update web_widget_x2many_2d_matrix.pot 2020-03-05 08:17:01 +01:00
mreficent 15e39d44b2 [FIX] Make matrix editable depending of the status of the parent 2020-03-05 08:17:01 +01:00
Akim Juillerat ca213cd38e [11.0] x2m matrix widget: Fix display of widget when called in onchange
Add nicer message when there are no values to display
2020-03-05 08:17:01 +01:00
Simone Orsi d2dafcbdeb [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2020-03-05 08:17:01 +01:00
Artem Kostyuk 130909c7c4 [11][MIG] web_widget_x2many_2d_matrix WIP 2020-03-05 08:17:01 +01:00
OCA Transbot c635192ba2 OCA Transbot updated translations from Transifex 2020-03-05 08:17:01 +01:00
Richard deMeester 307e93007e [FIX] web_widget_x2many_2d_matrix: fixes (#712)
* Patches to make module operational.
* Minor fix to Readonly Switch
* Fix to render to set change attribute.
* Totals recompute.

Fixes #697
2020-03-05 08:17:01 +01:00
Cédric Pigeon 8662743ae4 [10.0] web_widget_x2many_2d_matrix: update README 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 0111e0ce67 [IMP] web_widget_x2many_2d_matrix: Update example
There are now more required fields for a task.
2020-03-05 08:17:01 +01:00
jesusVMayor 976ea30892 Migration of web_widget_x2many_2d_matrix to 10.0 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 146252808d [MIG] Rename manifest files 2020-03-05 08:17:01 +01:00
Pedro M. Baeza dd84edd3e1 [MIG] Make modules uninstallable 2020-03-05 08:17:01 +01:00
Pedro M. Baeza ccdf5710ab [FIX] web_widget_x2many_2d_matrix: Init correctly the view 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 4feb82659e [IMP] web_widget_x2many_2d_matrix: Remove unneeded code 2020-03-05 08:17:01 +01:00
Pedro M. Baeza b13cd24692 [IMP+ web_widget_x2many_2d_matrix: Add roadmap 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 9fb5f933f8 [IMP] web_widget_x2many_2d_matrix: Better options parsing 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 07518433d1 [FIX] web_widget_x2many_2d_matrix: Use existing value in load_views 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 2655123d5b [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.
2020-03-05 08:17:01 +01:00
Jairo Llopis 7e25a97cef [IMP] web_widget_x2many_2d_matrix: Use new JS modularized API. 2020-03-05 08:17:01 +01:00
Pedro M. Baeza fe7b4c3a85 [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 07e12b3f3e [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.
2020-03-05 08:17:01 +01:00
Holger Brunn b981ecd72f [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
2020-03-05 08:17:01 +01:00
OCA Transbot d5af102352 OCA Transbot updated translations from Transifex 2020-03-05 08:17:01 +01:00
Pedro M. Baeza 395c381b17 [MIG] Make modules uninstallable 2020-03-05 08:17:01 +01:00
Stéphane Bidoul ea5424c484 [UPD] prefix versions with 8.0 2020-03-05 08:17:01 +01:00
Markus Schneider dfc4bd1cba remove comma 2020-03-05 08:17:01 +01:00
Markus Schneider d8749699a9 add OCA to author 2020-03-05 08:17:01 +01:00
Yannick Vaucher 462173a545 Add bug tracker link on README.rst 2020-03-05 08:17:01 +01:00
Holger Brunn c671d3525d [FIX] also reinitialize totals 2020-03-05 08:17:01 +01:00
Holger Brunn 7d5d0d130f [FIX] support rerendering after virtual ids change
this is necessary for correct operation after creating new records
2020-03-05 08:17:01 +01:00
Holger Brunn e4365fa24c [IMP] better modularity 2020-03-05 08:17:01 +01:00
Holger Brunn c4cbaf52a8 [IMP] icon 2020-03-05 08:17:01 +01:00
Holger Brunn 1ad7523065 [IMP] add screenshot, example in README 2020-03-05 08:17:01 +01:00
Holger Brunn 569def98e2 [IMP] use semantic css classes instead of element names
[RFR] and being on it, make reacting to changes in overrides simple
2020-03-05 08:17:01 +01:00
Holger Brunn 0d805deb39 [IMP] we don't need data-x and data-y on the input 2020-03-05 08:17:01 +01:00
Holger Brunn 1eaf985999 [ADD] validation
[IMP] write formatted value to back to input
2020-03-05 08:17:01 +01:00
Holger Brunn 4af854c2eb [FIX] setup focus 2020-03-05 08:17:01 +01:00
Holger Brunn fef7b3c409 [FIX] replace therp icon 2020-03-05 08:17:01 +01:00
Holger Brunn 08285bb319 [IMP] pass computed totals to inheriting function 2020-03-05 08:17:01 +01:00
Holger Brunn 2e2b2453d7 [FIX] update readonly value after editing 2020-03-05 08:17:01 +01:00
Holger Brunn ea84a081f0 [IMP] support changing readonly state 2020-03-05 08:17:01 +01:00
Holger Brunn 82b6dc199b [IMP] collapse whitespace in rows 2020-03-05 08:17:01 +01:00
Holger Brunn 4203e2ab4c [IMP] handle readonly flag
[ADD] show grand total
[IMP] classify floats as floats
2020-03-05 08:17:01 +01:00
Holger Brunn 4a4bf0b68f [ADD] allow to open linked record
of one of the axes is a many2one field
2020-03-05 08:17:01 +01:00
Holger Brunn fcafa6268f [FIX] use odoo's parse_value 2020-03-05 08:17:01 +01:00
Holger Brunn d946e72e0a [IMP] show column totals in table footer 2020-03-05 08:17:01 +01:00