3
0
Fork 0
Commit Graph

55 Commits (4a37d5385633c946175f3d01199f70ee44717f7c)

Author SHA1 Message Date
oca-travis c49924b5f1 [UPD] Update web_widget_x2many_2d_matrix.pot 2018-09-20 14:17:23 +00:00
Dennis Sluijk 4fea08d468 [IMP] web_widget_x2many_2d_matrix: Total of all rows (#1043) 2018-09-20 16:05:34 +02:00
oca-travis 2fc00a353a [UPD] Update web_widget_x2many_2d_matrix.pot 2018-08-27 15:14:27 +00:00
Jairo Llopis 0efe75de7c [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.
2018-08-27 16:57:15 +02:00
Jairo Llopis 78beda0546 [FIX] web_widget_x2many_2d_matrix: Enable keyboard navigation 2018-08-24 09:45:24 +01:00
Jairo Llopis a54ca01096 [FIX] web_widget_x2many_2d_matrix: Fix linters 2018-08-24 08:11:45 +01:00
Rodrigo Macedo c376c81b1c 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/
2018-08-03 13:20:58 +00:00
oca-travis cebc6965f6 [UPD] Update web_widget_x2many_2d_matrix.pot 2018-06-24 10:28:19 +00:00
mreficent 951e2f2fc6 [FIX] Make matrix editable depending of the status of the parent 2018-05-02 15:28:31 +02:00
Akim Juillerat c909bc3f79 [11.0] x2m matrix widget: Fix display of widget when called in onchange
Add nicer message when there are no values to display
2018-04-20 10:07:08 +02:00
Simone Orsi 69cc921ab3 [MIG+REF][11] web_widget_x2many_2d_matrix
The widget has been completely refactored
to benefit from the new MVC paradigm introduced in v11.
2018-03-28 12:47:39 +02:00
Artem Kostyuk 75f79755c0 [11][MIG] web_widget_x2many_2d_matrix WIP 2018-03-27 17:16:11 +02:00
OCA Transbot df0bca0bc5 OCA Transbot updated translations from Transifex 2018-03-27 17:16:11 +02:00
Richard deMeester 92c1f86066 [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
2018-03-27 17:16:11 +02:00
Cédric Pigeon 22aaa168c8 [10.0] web_widget_x2many_2d_matrix: update README 2018-03-27 17:16:11 +02:00
Pedro M. Baeza 936e9c23dd [IMP] web_widget_x2many_2d_matrix: Update example
There are now more required fields for a task.
2018-03-27 17:16:11 +02:00
jesusVMayor 47c55d66b4 Migration of web_widget_x2many_2d_matrix to 10.0 2018-03-27 17:16:11 +02:00
Pedro M. Baeza e9b20fb5fc [MIG] Rename manifest files 2018-03-27 17:16:11 +02:00
Pedro M. Baeza 03c1a97a9e [MIG] Make modules uninstallable 2018-03-27 17:16:11 +02:00
Pedro M. Baeza 491b210416 [FIX] web_widget_x2many_2d_matrix: Init correctly the view 2018-03-27 17:16:11 +02:00
Pedro M. Baeza a517b40c87 [IMP] web_widget_x2many_2d_matrix: Remove unneeded code 2018-03-27 17:16:11 +02:00
Pedro M. Baeza c4d2981193 [IMP+ web_widget_x2many_2d_matrix: Add roadmap 2018-03-27 17:16:11 +02:00
Pedro M. Baeza 466561181f [IMP] web_widget_x2many_2d_matrix: Better options parsing 2018-03-27 17:16:11 +02:00
Pedro M. Baeza 388fa3dd4b [FIX] web_widget_x2many_2d_matrix: Use existing value in load_views 2018-03-27 17:16:11 +02:00
Pedro M. Baeza 3123f7fa30 [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.
2018-03-27 17:16:11 +02:00
Jairo Llopis d3cd13a5a8 [IMP] web_widget_x2many_2d_matrix: Use new JS modularized API. 2018-03-27 17:16:11 +02:00
Pedro M. Baeza e3a2ca214f [MIG] web_widget_x2many_2d_matrix: Migration to 9.0 2018-03-27 17:16:11 +02:00
Pedro M. Baeza 2a2439b848 [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.
2018-03-27 17:16:11 +02:00
Holger Brunn 3841f92900 [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
2018-03-27 17:16:11 +02:00
OCA Transbot a2a90729c9 OCA Transbot updated translations from Transifex 2018-03-27 17:16:11 +02:00
Pedro M. Baeza b0eb63ebfc [MIG] Make modules uninstallable 2018-03-27 17:16:11 +02:00
Stéphane Bidoul a66512d89b [UPD] prefix versions with 8.0 2018-03-27 17:16:11 +02:00
Markus Schneider d05f556414 remove comma 2018-03-27 17:16:11 +02:00
Markus Schneider 5cc931e94b add OCA to author 2018-03-27 17:16:11 +02:00
Yannick Vaucher 58126af6de Add bug tracker link on README.rst 2018-03-27 17:16:11 +02:00
Holger Brunn f59dfc378f [FIX] also reinitialize totals 2018-03-27 17:16:11 +02:00
Holger Brunn 052a12ac36 [FIX] support rerendering after virtual ids change
this is necessary for correct operation after creating new records
2018-03-27 17:16:11 +02:00
Holger Brunn d797ed948d [IMP] better modularity 2018-03-27 17:16:11 +02:00
Holger Brunn da2ea7d2a6 [IMP] icon 2018-03-27 17:16:11 +02:00
Holger Brunn 48b086e6bf [IMP] add screenshot, example in README 2018-03-27 17:16:11 +02:00
Holger Brunn 81181c5ee6 [IMP] use semantic css classes instead of element names
[RFR] and being on it, make reacting to changes in overrides simple
2018-03-27 17:16:11 +02:00
Holger Brunn e63ade6193 [IMP] we don't need data-x and data-y on the input 2018-03-27 17:16:11 +02:00
Holger Brunn d5c0a478b9 [ADD] validation
[IMP] write formatted value to back to input
2018-03-27 17:16:11 +02:00
Holger Brunn 6eb62bb572 [FIX] setup focus 2018-03-27 17:16:11 +02:00
Holger Brunn 3cc76e9048 [FIX] replace therp icon 2018-03-27 17:16:11 +02:00
Holger Brunn 6cc4fe601f [IMP] pass computed totals to inheriting function 2018-03-27 17:16:11 +02:00
Holger Brunn 9590e24f5a [FIX] update readonly value after editing 2018-03-27 17:16:11 +02:00
Holger Brunn 3abe635c64 [IMP] support changing readonly state 2018-03-27 17:16:11 +02:00
Holger Brunn 3b75298142 [IMP] collapse whitespace in rows 2018-03-27 17:16:11 +02:00
Holger Brunn 7fff989504 [IMP] handle readonly flag
[ADD] show grand total
[IMP] classify floats as floats
2018-03-27 17:16:11 +02:00