Commit Graph
1467 Commits
Author SHA1 Message Date
Cédric Krier b1d00a5e8a Add context to export URL
issue9304
review317361002
2020-05-19 18:57:53 +02:00
Cédric Krier c20ef88a21 Prepare pyson result when encoding PYSON statement
The object returned by the pyson method must also be prepared before being
jsonified.

issue9234
review327191003
2020-05-19 18:47:53 +02:00
Nicolas Évrard 2e373b9d3e Click on boolean column of editable trees select the lines and toggle the state
issue9285
review303481002
2020-05-18 13:53:59 +02:00
Cédric Krier 5b1604a2c5 Always reload record even when exception is raised
As the record is saved without reload, we must ensure to always reload the
record even if the execution of the button fails.

issue9299
review309541002
2020-05-10 11:34:47 +02:00
Sergi Almacellas Abellana c98952c4ab Toggle parent group overflow when showing a datepicker
issue9316
review305521002
2020-05-09 09:31:59 +02:00
Cédric Krier d7d954f6ea Increase version number 2020-05-04 12:03:29 +02:00
Cédric Krier e0568ac821 Add tag 5.6.0 [skip ci] 2020-05-04 12:03:17 +02:00
Cédric Krier 3d3c536cc9 Prepare release 5.6.0 [skip ci] 2020-05-04 12:03:17 +02:00
Cédric Krier 2f1195205a Restore htmlPrefilter of jQuery < 3.5
fullcalendar does not support yet jQuery 3.5 because of the htmlPrefilter
security change. So we restore the previous behavior until
https://github.com/fullcalendar/fullcalendar/pull/5391 is merged and released.

issue9293
review303501002
2020-05-04 10:21:23 +02:00
Cédric Krier 53debf6b62 Update translations 2020-05-02 10:29:26 +02:00
Cédric Krier a814eeb439 Set auto scroll to form-group
When there is not enough available space for the content of the group, a scroll
bar should be used.

issue9283
review315381002
2020-05-01 00:25:59 +02:00
Cédric Krier 8fcae8ea84 Set width of numeric input according to digits
issue9282
review317311002
2020-05-01 00:24:46 +02:00
Cédric Krier 6d9d4f447f Make overflow-y visible to display completion
issue9231
review293611002
2020-04-28 00:31:05 +02:00
Cédric Krier be3253d2e6 Do not create new record if no editable is available
issue9249
review317281002
2020-04-28 00:29:38 +02:00
Cédric Krier 44397c51cf Let 10% of vw for borders around the form
issue9186
review321241002
2020-04-23 22:38:46 +02:00
Sergi Almacellas Abellana ee85b855a1 Do not trigger trigger another on_change after setting it's result
issue9212
review311331002
2020-04-19 13:11:48 +02:00
Nicolas Évrard 8bb5ea0923 Use field.set to set value from on_change calls
Setting a reference field with an on_change in an editable list won't set the
correct value for the model selection. We should do like in tryton and call
set.

issue9083
review297071003
2020-04-18 17:20:57 +02:00
Cédric Krier 6239ce291a Add link button
issue9051
review280841002
2020-04-13 12:21:55 +02:00
Cédric Krier b1d501ee66 Skip invalid branch of domain without the inverted field
Those branches of the domain should not prevent to compute a proper inverted
domain for the field as the other fields will be fixed later.

issue9200
review311191002
2020-04-12 23:21:08 +02:00
Cédric Krier 7e9e766c5e Support explicit delete and remove for saving and on_change xxx2Many
issue4140
review291281002
2020-04-12 23:18:15 +02:00
Cédric Krier 37d86382a6 Add export CSV data route
issue9090
review261011002
2020-04-12 23:10:30 +02:00
Cédric Krier c250ea3068 Filter leaf before preparing reference domain
We must not prepare reference domain if the clause is not applicable to the
current value.

issue9107
review305231002
2020-04-10 18:32:55 +02:00
Cédric Krier a01cff2273 Pass both domains in a list to concat
issue9201
review297411002
2020-04-10 18:29:17 +02:00
Cédric Krier fa10dda249 Set treeview header sticky on top
We set a default height to treeview which is 100% of the viewport height minus
a default of the height of the toolbars.
The height is reset to treeview inside form and for the menu.

issue9163
review256781002
2020-04-02 00:09:47 +02:00
Cédric Krier bea8ed5e2a Add width and height attributes on calendar view
issue9148
review250931003
2020-04-01 23:58:49 +02:00
Cédric Krier a54f3c1549 Override max and min height of treeview and list-form inside a widget
The default values must be overridden to let the view expand up to the widget
height.

issue9162
review256771004
2020-03-28 17:02:15 +01:00
Cédric Krier 299b91191a Set default size for image widget in all views
issue9131
review256701006
2020-03-28 00:35:48 +01:00
Cédric Krier 7dbe58e654 Use 100% width for container
with expanded cell and not inside another container.

issue9129
review291221004
2020-03-17 23:23:13 +01:00
Cédric Krier c5790f031f Add noreferrer noopener to window.open calls
issue9089
2020-03-09 18:21:27 +01:00
Cédric Krier bdad20516f Add noreferrer noopener to external URL
issue9089
review289401002
2020-03-09 18:08:24 +01:00
Cédric Krier 3a079ab1d6 Do not force value in OR-ed clause
When any other variable in Or-ed clause is not known, we can not force the
value of the variable.

issue9092
review272941002
2020-03-06 23:14:24 +01:00
Cédric Krier d4fcfa1743 Manage readonly dates and editable calendar view
If any of the dates is readonly, the event can not be modified by drag and
drop.
If the calendar is not editable no events can be modified.

issue9012
review256451002
2020-02-29 23:43:50 +01:00
Cédric Krier 491693ca64 Add field_name and model_name property to columns
field_name is used by selection_mixin to filter selection based on domain
evaluation.
The model_name exists on tryton so we add it for completeness.

issue9056
review250751004
2020-02-29 00:53:43 +01:00
Cédric Krier f8d7af5312 Hidden overflowing content of calendar event
We display the full content as title.

issue9011
review254921002
2020-02-23 13:58:47 +01:00
Cédric Krier 996353a0ba Do not remove 25vw in max-width
If there are multiple xexpanded cell in the same row, they all left 25vw for
the offcanvas. This gives too much space for the menu. It is better to allow an
horizontal scrollbar in some cases.

issue9027
review276861002
2020-02-19 23:01:25 +01:00
Cédric Krier c1d99b1733 Always use search_context for creation from Many2One
and remove unused context from Many2Many WinForm as it is only for tree view.

issue9023
review282871003
2020-02-19 22:54:21 +01:00
Cédric Krier f34e520a64 Add polyfill for padStart and padEnd
issue9067
review266821004
2020-02-17 23:15:55 +01:00
Cédric Krier 34ad23041c Manage exclude field from search window
When creating a new record from search window, we should include the relation
field as excluded like it is done for direct creation.

issue9024
review274811009
2020-02-12 00:11:55 +01:00
Cédric Krier 9fc28d547d Wait for display to complete in Screen.remove
The returned promise of remove must resolve only when the display of the screen
is complete. Otherwise there is a miss-matching between screen and the view.

issue9022
review278491003
2020-02-10 23:40:51 +01:00
Sergi Almacellas Abellana db5c5c11b7 Add tests for time only timedelta conversion
issue9016
review258701002
2020-02-06 20:48:48 +01:00
Sergi Almacellas Abellana 9813ace62a Support hours greater than 99 when formatting timedelta time's
issue9016
review258701002
2020-02-06 20:48:05 +01:00
Cédric Krier fb9876d0f4 Add tests for types checking in PYSON Greater
issue9002
review276711002
2020-02-04 18:32:10 +01:00
Cédric Krier 692fbccb2f Check statement types in Greater PYSON
issue9002
review276711002
2020-02-04 18:30:04 +01:00
Cédric Krier 1dcca1cf08 Use locale context to format date in domain parser
issue8999
review278401002
2020-02-04 18:28:09 +01:00
Cédric Krier 078eead028 Manage named separator as label
issue8961
review262741032
2020-01-24 00:25:30 +01:00
Cédric Krier d39a1c2750 Add xalign and yalign to group
issue8956
review258581002
2020-01-24 00:18:19 +01:00
Sergi Almacellas Abellana 5922d68313 Add one day to calendar's end date only when calendar is for allDay
issue9003
review276741002
2020-01-23 20:48:49 +01:00
Cédric Krier 08798549ba Call super method with this
changeset 0eafc9f09fd8 did not call properly the super method.

issue9001
2020-01-23 15:58:36 +01:00
Cédric Krier 8ea7f9cdfc Restore stored session after first login dialog
If we find a session once the user has filled the database and login, we should
try it first. If it does not work the first request will trigger the renewal
process.

issue8948
review262701002
2020-01-21 00:42:15 +01:00
Cédric Krier 1be481f75d Display nice user message on too many requests
issue8935
review276601002
2020-01-21 00:34:55 +01:00