Cédric Krier
c6ff1eba4c
Use ISO-8601 format for toString call on Date and DateTime
...
Papaparse call toString to write values. So to ensure the same format between
clients, toString on Date and DateTime must return ISO-8601 format with space
as time separator.
issue7305
review36161002
2018-04-19 00:05:04 +02:00
Cédric Krier
5817059b5d
Remove unused Deferred in ModelAccess
2018-04-18 19:24:13 +02:00
Cédric Krier
62672e94e3
Replace bitwise OR by logical OR in LabelMixin
...
issue7356
2018-04-18 13:38:52 +02:00
Cédric Krier
18defc9f37
Synchronize the Date Dict widget behavior with the Date widget
...
- move button on the left
- add operators
issue7279
review49261002
2018-04-18 10:16:06 +02:00
Cédric Krier
f986be5a8a
Consider undefined string attribute on label as a string
...
A label or separator the name of a field and no string should display the
string of the field.
issue7356
review44981002
2018-04-18 10:08:52 +02:00
Kunkel Pierre
4c129f3b27
Manage readonly state on boolean in Dict widget
...
issue7341
review42081002
2018-04-14 10:22:46 +02:00
Cédric Krier
f8ae59453a
Fix size of tab list span on IE
...
issue7318
review36151002
2018-04-13 18:55:32 +02:00
Cédric Krier
21f3b6a4b8
Loop over parent languages until finding one
...
The navigator language could not be a translated language but its parent may,
so we must use the first found parent language.
issue7326
review44931002
2018-04-13 18:54:43 +02:00
Cédric Krier
9c514ff2db
Manage empty string attributes on label
...
issue7321
review37211003
2018-04-13 18:53:38 +02:00
Cédric Krier
d2ccdfeb99
Hide empty image displayed as broken image
...
issue7319
review47281002
2018-04-13 18:52:51 +02:00
Cédric Krier
5302206ce4
Avoid modification of not normalized value from richtext widget
...
issue7313
review46321002
2018-04-13 18:45:50 +02:00
Cédric Krier
f809c0b6f1
Use msSaveOrOpenBlob to download file when available
...
IE does not support to download URL Blob.
issue7317
review45361002
2018-04-09 10:58:18 +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