Cédric Krier
574204ad0f
Add viewBox attribute to SVG
...
issue7320
review44911002
2018-04-09 10:53:58 +02:00
Cédric Krier
a1e72f1839
Add tests for PYSON Equal between moment
...
issue7187
review44081002
2018-04-09 10:46:37 +02:00
Cédric Krier
64aed7f483
Use valueOf to compare moment in PYSON Equal
...
issue7187
review44081002
2018-04-09 10:45:46 +02:00
Cédric Krier
1fa22ec80d
Typo Attachement -> Attachment
...
issue7310
2018-04-06 18:29:18 +02:00
Cédric Krier
860f2200a2
Increase date/time size and move button on the left
...
issue7298
review38121002
2018-04-05 19:20:51 +02:00
Cédric Krier
19791177fd
Wait reload ends before launching action
...
issue7312
review42051002
2018-04-05 19:17:05 +02:00
Cédric Krier
8c0b2bece7
Use Screen.load when opening Window.Form in Many2Many
...
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.
issue7278
review47271002
2018-04-05 19:14:08 +02:00
Cédric Krier
927eaf7911
Use max-width CSS instead of width attribute for Integer input
...
issue7301
review42031002
2018-04-04 23:09:47 +02:00
Cédric Krier
e3b9ac4000
Disable button if parent is changed and ensure states is boolean
...
issue7214
review38111002
2018-04-04 23:08:56 +02:00
Cédric Krier
b6017386ae
Set overflow on closest .treeview when datetimepicker is shown
...
This applies the same technique as for completion.
issue5967
review44861002
2018-04-04 23:06:56 +02:00
Cédric Krier
7defe1ddff
Enforce same keyboard behaviour as tryton
...
- down key put the focus on the menu
- return key does not open the menu
- escape key does not close modal
issue7296
review37181002
2018-04-04 23:03:23 +02:00
Cédric Krier
11486416c4
Make PYSON widget works for Object and Array
...
- eval object as statement
- generalise toString from PYSON
- do not modify the value because of different encoding
issue7105
review46311002
2018-04-03 16:44:24 +02:00
Cédric Krier
2c076e1b4c
Add missing translations of DateTimes From/To in filter
2018-03-30 18:23:00 +02:00
Cédric Krier
88ec3e7b84
Refactor the editable tree process
...
issue7261
review45321002
2018-03-30 18:21:13 +02:00
Cédric Krier
a80511be29
Properly test against screen group parent
...
issue7294
review45331002
2018-03-30 18:17:03 +02:00
Cédric Krier
77b1e59713
Set current_record variable after calling set_current_record
...
issue7292
review46281002
2018-03-30 18:16:17 +02:00
Cédric Krier
2aa24dc84f
Center checkbox in editable tree
...
issue7290
review37171002
2018-03-30 18:08:42 +02:00
Kunkel Pierre
7f8db31a8d
Set disabled attribute instead of readonly in Dict Selection
...
issue7297
review42021002
2018-03-30 18:07:12 +02:00
Cédric Krier
4737d7f37c
Allow Date/Time widgets to be smaller
...
We replace width by max-width because on editable tree, the widget may need to
take less place if the cell is too small.
issue7272
review42001002
2018-03-29 20:21:29 +02:00
Cédric Krier
08ad34eca2
Add BC47 transformer and use it for toLocaleString and lang attribute
...
issue7250
review36061002
2018-03-29 20:18:59 +02:00
Cédric Krier
271689ffad
Use screen group to convert timedelta
...
The record is not always defined if no record is selected.
issue7268
review37151002
2018-03-28 19:58:00 +02:00
Cédric Krier
4d9afbedc8
Add title attribute to sum cells
...
issue7269
review44231002
2018-03-28 19:57:12 +02:00
Cédric Krier
d59800ab97
Compare screen group with same length as rows record
...
This happens when the view does not display all the records but the number of
displayed rows is equal to the display size.
issue7275
review44811002
2018-03-28 19:56:16 +02:00
Cédric Krier
aef87ed37a
Make create call synchronous
...
This avoid to create multiple times the same record if Record.save is called
multiple times.
issue7148
review44211002
2018-03-27 10:50:10 +02:00
Cédric Krier
9f80bb9b4f
Disable buttons when clicked
...
and enable them after the callback is complete.
issue7148
review37131002
2018-03-27 10:49:21 +02:00
Cédric Krier
0abda1bfd1
Do not launch preference actions when reload menu and context
...
Such reload can happen when the user is already logged in but those actions
should only run at login.
issue7260
review40231002
2018-03-27 10:47:36 +02:00
Sergi Almacellas Abellana
4bb500a931
Manage active field on search widget
...
issue4341
review38081002
2018-03-26 14:23:49 +02:00
Cédric Krier
1ed3b1f90b
Hide badge when zero and use absolute position
...
issue7181
review39201002
2018-03-25 23:52:51 +02:00
Nicolas Évrard
ad414f0a23
Manually handle hiding of bootstrap Modals in forms and wizards
...
issue7248
review36041002
2018-03-24 20:30:38 +01:00
Cédric Krier
ae59a8060c
Ensure row height stays the same if images are added as affix
...
issue7258
review38091002
2018-03-24 13:54:48 +01:00
Cédric Krier
f33d5cdb1c
Remove all keyBinds from datetimepicker
...
datetimepicker stops the propagation and prevents default for event with key
bound even if the handler does nothing.
This prevents to have Return to trigger the default submit or Escape to stop
list edition.
But as datetimepicker uses jQuery.extend to setup the options, we can pass
null for keyBinds to remove all the defaults.
issue7246
review45301002
2018-03-24 13:52:56 +01:00
Cédric Krier
95fa4a2b63
Set time to 0 when undefined
...
But not null because PYSON DateTime use null to get the current time.
issue7240
2018-03-24 01:46:07 +01:00
Cédric Krier
e1cf57a4c1
Do not set time to 0 when instantiate DateTime without time value
...
It should return the current date-time.
issue7240
review41951002
2018-03-24 00:24:53 +01:00
Cédric Krier
bdfc7e1856
Use fixed width for badges
...
issue7251
review41961002
2018-03-24 00:23:45 +01:00
Cédric Krier
bf3ed92722
Add position and count label on one2many widget and tree view
...
issue6738
review35611002
2018-03-24 00:22:03 +01:00
Cédric Krier
fff5fe4088
Hide separators of tab menu on small screen
...
issue7252
review41211002
2018-03-23 22:26:45 +01:00
Cédric Krier
5a1ac88290
Set width of 0 for selection state col if selection mode is None
2018-03-23 19:47:51 +01:00
Nicolas Évrard
c633ac1a53
Reset record to its original state when discarding the popup window
...
issue3325
review41921002
2018-03-23 16:39:21 +01:00
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