Commit Graph

403 Commits

Author SHA1 Message Date
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
Holger Brunn
900d12e019 [UPD] readme 2020-03-05 08:17:01 +01:00
Holger Brunn
970cca94f3 [ADD] web_widget_x2many_2d_matrix 2020-03-05 08:17:01 +01:00
OCA-git-bot
dd8863c360 Merge PR #1540 into 13.0
Signed-off-by legalsylvain
2020-03-02 23:34:56 +00:00
Stéphane Bidoul
dee955fc26 pre-commit update: prettier xml indent 2020-03-02 11:50:56 +01:00
OCA-git-bot
cf9b15816e web_responsive 13.0.2.0.1 2020-02-26 13:09:31 +00:00
OCA-git-bot
3b66cf0a15 Merge PR #1534 into 13.0
Signed-off-by pedrobaeza
2020-02-26 13:02:22 +00:00
Alexandre Díaz
760127b3a4 [FIX] web_responsive: Change AppDrawer close method
Previous of this commit, AppDrawer closes when the action have an id
that is defined in a menu item and no rpc calls are running.
Now AppDrawer closes in a more generic way, is enough that a
controller is attached to consider that the AppDrawer needs to be
closed.
2020-02-25 20:23:54 +01:00