Sylvain LE GAL
a2e234ff13
[FIX] web_widget_x2many_2d_matrix: remove console.log
2021-09-09 19:52:17 +02:00
Saran440
b0f3bb944f
[IMP] web_widget_x2many_2d_matrix: black, isort, prettier
2020-11-13 10:59:18 +07:00
Alexandre Díaz
cd077b85a4
[IMP] web_widget_x2many_2d_matrix: Debug mode
2020-11-13 10:59:09 +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
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
Pedro M. Baeza
b1a6fb96aa
Revert "[FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens"
...
This reverts commit 10971ad68e
.
2020-11-13 10:58:51 +07:00
Alexandre Díaz
4fafb4c6be
[FIX] web_widget_x2many_2d_matrix: Forced render mode to list on small screens
2020-11-13 10:58:48 +07:00
Holger Brunn
38a523ad78
[ADD] detect if used field type can be aggregated
...
fixes #1365
2020-11-13 10:58:45 +07:00
tarteo
16f07da066
[FIX] web_widget_x2many_2d_matrix: Padding in aggregate row
...
[FIX] Padding in aggregate row
2020-11-13 10:58:18 +07:00
tarteo
d526653e7e
[FIX] web_widget_x2many_2d_matrix: Use widget for formatting aggregates
2020-11-13 10:58:18 +07:00
Alexey Pelykh
ed6d6aebc3
[IMP] web_widget_x2many_2d_matrix: center header cell
2020-11-13 10:58:11 +07:00
Alexey Pelykh
e6c8a42647
[FIX] web_widget_x2many_2d_matrix: total cell calculation
2020-11-13 10:58:11 +07:00
Alexey Pelykh
23a2265fac
[FIX] web_widget_x2many_2d_matrix: _renderBodyCell + _renderAggregateColCells
2020-11-13 10:58:06 +07:00
Pedro M. Baeza
b5fcda3648
[FIX] web_widget_x2many_2d_matrix: Closing parenthesis
2020-11-13 10:57:57 +07:00
Jordi Ballester Alomar
a97e264182
web_widget_x2many_matrix: fix issue with limit of records
2020-11-13 10:57:57 +07:00
Dennis Sluijk
e3de0d49c1
[IMP] web_widget_x2many_2d_matrix: Total of all rows ( #1043 )
2020-11-13 10:57:57 +07:00
Jairo Llopis
f51faf036e
[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-11-13 10:57:54 +07:00
Jairo Llopis
05509c568c
[FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation
2020-11-13 10:57:54 +07:00
Jairo Llopis
9ce5fee34b
[FIX] web_widget_x2many_2d_matrix: Fix linters
2020-11-13 10:57:54 +07:00
mreficent
5a7d7be81b
[FIX] Make matrix editable depending of the status of the parent
2020-11-13 10:57:50 +07:00
Akim Juillerat
f4cceb85b1
[11.0] x2m matrix widget: Fix display of widget when called in onchange
...
Add nicer message when there are no values to display
2020-11-13 10:57:50 +07:00
Simone Orsi
3a1ae72bec
[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-11-13 10:57:50 +07:00
Artem Kostyuk
37f4c9b2af
[11][MIG] web_widget_x2many_2d_matrix WIP
2020-11-13 10:57:50 +07:00
Richard deMeester
3ea8cada70
[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-11-13 10:57:42 +07:00
jesusVMayor
f61de5bf90
Migration of web_widget_x2many_2d_matrix to 10.0
2020-11-13 10:57:42 +07:00
Pedro M. Baeza
a642f1ef0e
[FIX] web_widget_x2many_2d_matrix: Init correctly the view
2020-11-13 10:57:42 +07:00
Pedro M. Baeza
f4227b33d0
[IMP] web_widget_x2many_2d_matrix: Remove unneeded code
2020-11-13 10:57:42 +07:00
Pedro M. Baeza
1ba9a39c99
[IMP] web_widget_x2many_2d_matrix: Better options parsing
2020-11-13 10:57:42 +07:00
Pedro M. Baeza
3666cd635d
[FIX] web_widget_x2many_2d_matrix: Use existing value in load_views
2020-11-13 10:57:42 +07:00
Pedro M. Baeza
c850393872
[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-11-13 10:57:42 +07:00
Jairo Llopis
d1128c145d
[IMP] web_widget_x2many_2d_matrix: Use new JS modularized API.
2020-11-13 10:57:42 +07:00
Pedro M. Baeza
ceab0655dd
[MIG] web_widget_x2many_2d_matrix: Migration to 9.0
2020-11-13 10:57:42 +07:00
Pedro M. Baeza
e35a2731ff
[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-11-13 10:57:42 +07:00
Holger Brunn
4397e84221
[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-11-13 10:57:42 +07:00
Holger Brunn
c83bc0b87a
[FIX] also reinitialize totals
2020-11-13 10:23:49 +07:00
Holger Brunn
52df7dc0f0
[FIX] support rerendering after virtual ids change
...
this is necessary for correct operation after creating new records
2020-11-13 10:23:49 +07:00
Holger Brunn
11d868fb78
[IMP] better modularity
2020-11-13 10:23:49 +07:00
Holger Brunn
240c664886
[IMP] use semantic css classes instead of element names
...
[RFR] and being on it, make reacting to changes in overrides simple
2020-11-13 10:23:49 +07:00
Holger Brunn
a489f5e13c
[IMP] we don't need data-x and data-y on the input
2020-11-13 10:23:49 +07:00
Holger Brunn
55afc94891
[ADD] validation
...
[IMP] write formatted value to back to input
2020-11-13 10:23:49 +07:00
Holger Brunn
01760609d5
[FIX] setup focus
2020-11-13 10:23:49 +07:00
Holger Brunn
0877b1c6fc
[IMP] pass computed totals to inheriting function
2020-11-13 10:23:49 +07:00
Holger Brunn
d75f14d9b2
[FIX] update readonly value after editing
2020-11-13 10:23:49 +07:00
Holger Brunn
7ef4306767
[IMP] support changing readonly state
2020-11-13 10:23:49 +07:00
Holger Brunn
0ec2419cb6
[IMP] collapse whitespace in rows
2020-11-13 10:23:49 +07:00
Holger Brunn
3802614267
[IMP] handle readonly flag
...
[ADD] show grand total
[IMP] classify floats as floats
2020-11-13 10:23:49 +07:00