Commit Graph
966 Commits
Author SHA1 Message Date
Nicolas Évrard ea7c53e830 Add support of expand attribute on group tag
issue7220
review39221003
2018-03-23 16:27:32 +01:00
Cédric Krier 5026b0a088 Exclude widget buttons from keyboard navigation
- set tabindex to -1 for button widgets
- replace button by input-group-addon on PYSON
- do not set focus on negative tabindex on Modal

issue6739
review43441002
2018-03-22 22:00:36 +01:00
Cédric Krier 6e88979f8e Make navbar-btn with badge has the same height than others
issue7247
review41191002
2018-03-22 21:55:36 +01:00
Cédric Krier 9fffae3358 Ensure consistent treeview rendering by using fixed table-layout
- always use fixed table-layout
- define col for each column with a relative width
- add title to content and header of cells in case of overflow
- remove padding when editing cell
- remove padding and margin on button in treeview

issue7245
review37111002
2018-03-22 21:49:46 +01:00
Cédric Krier 9ae0b3a4f0 Set toolbar attribute of the RichText widget
The toolbar attribute is used in set_readonly.

issue7241
review44791002
2018-03-22 19:34:30 +01:00
Cédric Krier 59918ccc77 Replace tooltip by title and aria-label
As we display only text, it is more efficient to use title attribute. But we
must also set aria-label because not all screen readers read the title.
We add also the missing tooltip on some buttons.

issue6828
review41201002
2018-03-22 16:58:40 +01:00
Sergi Almacellas Abellana 48f8d37e7e Add the context model name in the screen context
issue7117
review41841002
2018-03-22 11:21:11 +01:00
Cédric Krier 1299a868c1 Add Screen.load and use it when opening Window.Form in Many2One
The changeset 4392ca20106e changed the order of the calls to group.load and
set_group. So no current_record was set when Window.Form was called.

issue7239
review40201002
2018-03-22 10:39:48 +01:00
Nicolas Évrard 47302a35ab Add support for search_* attributes on relational fields
issue6081
review31901003
2018-03-21 18:01:35 +01:00
Cédric Krier a4f6fb1ad2 Update to jQuery 3
issue5925
review36011002
2018-03-19 16:09:07 +01:00
Sergi Almacellas Abellana f807756393 Fix typo in jQuery definition
Introduced on changeset 99178d3f7b85

issue7236
review36031002
2018-03-19 13:36:36 +01:00
Cédric Krier f8ad26e740 Add missing colon on sum label
issue6947
review38071002
2018-03-19 12:11:33 +01:00
Cédric Krier d3315ec919 Avoid float precision error after the division by factor
issue7201
review41911002
2018-03-19 11:40:11 +01:00
Nicolas Évrard 9614d8bac6 Add sum of records on list view
issue6947
review35771002
2018-03-16 18:48:05 +01:00
Nicolas Évrard 03bdc638e9 Add wizard information to wizard context
issue7143
review39191002
2018-03-16 18:25:44 +01:00
Nicolas Évrard 95f1f412d5 Ensure that Date and DateTime widget uses the same keybindings as the GTk client
issue7176
review44071002
2018-03-16 17:13:12 +01:00
Cédric Krier aec0afd86d Wait the promise of Screen.new_ before using current_record
The current_record is only set in a callback of the promise so depending on
the timing current_record may not be set at the return of the function.

issue7210
review38051002
2018-03-15 00:27:07 +01:00
Cédric Krier d694b17804 Create explicitly the tbody for the table of the Form Container
issue7209
review37081002
2018-03-15 00:25:51 +01:00
Cédric Krier ecf701cb82 Bind the set_value callback in One2Many._set_value
this.name is used in the callback.

issue7206
review41171002
2018-03-15 00:24:43 +01:00
Cédric Krier 3196c82be6 Use limit to expand tree
The screen switch to the form view if the limit is reached.

issue4901
review44021002
2018-03-09 19:14:27 +01:00
Cédric Krier bfb2fcaa71 Rationalize context usage
issue7072
review43041002
2018-03-09 19:10:58 +01:00
Sergi Almacellas Abellana 760f1b2912 Do not show confirm dialog for buttons with empty value
Since issue6389 the server sets an empty value for the buttons
that do not have any confirmation string

issue7193
2018-03-06 14:41:39 +01:00
Nicolas Évrard 7d1bc66823 Reenable grunt-watch task 2018-03-06 10:34:28 +01:00
Cédric Krier b2109d8297 Push record in on_change values if it is not deleted and not removed
issue7164
review43171003
2018-03-04 00:58:11 +01:00
Cédric Krier d55033bbc3 Correctly evaluate domain between xxx2many and null
The value of empty xxx2Many is an empty Array which must be comparable to
null.

issue7163
review44681002
2018-03-04 00:53:46 +01:00
Cédric Krier 8fd555a0c2 Correctly compare model names in display next and previous
issue7146
review41861002
2018-02-23 10:55:28 +01:00
Xavier Codinas af0b82fddb Use spellcheck and lang attributes for textbox widget
issue6889
review39851002
2018-02-12 10:56:22 +01:00
Cédric Krier e182cbd947 Add support for icon on tab
issue7060
review43021002
2018-02-07 00:41:43 +01:00
Felipe Morato 2e6a660033 Format lang tags to comply with toLocaleString
Replace underscore for language tags to a hyphen because
toLocaleString expects a format of 'pt-BR' for composite tags while
tryton stores them with an underscore: 'pt_BR'.

issue7080
review41001002
2018-02-06 12:46:54 +01:00
Cédric Krier 74e6b85c73 Use common date_format on search filter and graph
issue7071
review43031002
2018-02-04 23:39:20 +01:00
Nicolas Évrard ae882ae78d Add keyword attribute to button tag
issue7067
review44581002
2018-01-24 14:35:44 +01:00
Cédric Krier 53300b651f Support field name on image tag
issue7058
review35851002
2018-01-23 22:15:21 +01:00
Diego Abad 24ef842a26 TimeDelta converter take group as parameter instead record
issue6946
review35831002
2018-01-09 18:52:00 +01:00
Cédric Krier 1b9c85d039 Do not override database from hash if the list is empty
issue7038
review40911002
2018-01-08 19:25:31 +01:00
Cédric Krier 11aabe8b24 Use 100% width and height for modal-lg
issue6997
review40851002
2017-12-26 17:30:27 +01:00
Sergi Almacellas Abellana 2dddccecbc Use win prefix to determine if we are on a windows platform
issue7008
review35801002
2017-12-13 12:50:56 +01:00
Nicolas Évrard 782ac76137 Do not return empty action list for X2M field when getting a record value
issue6988
2017-12-09 16:23:50 +01:00
Cédric Krier 1944564f1c Use input number and toLocaleString for numeric fields
To get a proper virtual keyboard on mobile, it is needed to use a input of
type 'number' when editing a numeric field. But as it is not possible to
ensure to display non signifiant digits, a text input is used with the
toLocaleString method.
Also the lang attribute is repeated on the number input because not all
browsers manage to use the global as default.

issue5233
review43621002
2017-11-27 22:18:09 +01:00
Cédric Krier 2cb332fe4c Show related record names for all windows
except from menu action.

issue6966
review42871002
2017-11-27 22:15:46 +01:00
Cédric Krier d5e6a6b4a4 Allow to edit Many2One from tree view
issue6848
review43771002
2017-11-27 22:03:16 +01:00
Sergi Almacellas Abellana 6a472c1384 Manage name attribute on form group
issue6894
review37801002
2017-11-27 11:12:08 +01:00
Sergi Almacellas Abellana 4845b56f36 Use translated values when exporting Reference and Selection fields
issue6961
review37841002
2017-11-27 10:38:12 +01:00
Cédric Krier 7eefd92994 Add minimal and maximal height for treeview in xxx2many widget
issue6942
review38961002
2017-11-21 20:51:30 +01:00
Cédric Krier 2048128573 Implement translation on richtext widget
issue6891
review36811002
2017-11-21 20:50:27 +01:00
Cédric Krier 81254a51f5 Add right border to menu
issue6940
review38951002
2017-11-21 01:25:31 +01:00
Cédric Krier cf8ab8ad02 Remove padding for group with with col -1 and 1
issue6829
review39771002
2017-11-10 10:52:22 +01:00
Cédric Krier 05edf756fb Correctly select the visible and not readonly input/select
issue6897
review41651002
2017-11-09 18:59:05 +01:00
Sergi Almacellas Abellana 5e3b18aaa9 Use a list as default pyson value of search domain
issue6904
review35741002
2017-11-03 12:36:49 +01:00
Cédric Krier 176f3ce1ac Increase version number 2017-10-30 14:49:15 +01:00
Cédric Krier f5573e14ae Added tag 4.6.0 for changeset 16a536201007 2017-10-30 14:49:05 +01:00