Add scroll time for calendar view

This commit is contained in:
Cédric Krier
2023-01-28 10:42:58 +01:00
parent dd8c5721be
commit 7843e47389
4 changed files with 9 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
* Support scroll time on calendar view
* Save and Restore tree state on List Form
* Do record (pre)validation and saving on selection change for list-form views
* Eagerly read string value of selection fields
+3
View File
@@ -83,6 +83,9 @@
defaultView: defaultview,
header: header,
timeFormat: 'H:mm',
scrollTime: (
this.view.screen.context.calendar_scroll_time ||
Sao.Time(6)).toString(),
events: this.view.get_events.bind(this.view),
locale: Sao.i18n.getlang().slice(0, 2),
isRTL: Sao.i18n.rtl,
+1
View File
@@ -1,3 +1,4 @@
* Add scroll time for calendar view
* Allow cache size to be configured
* Add local and global list of ignore context keys
* Add functions in transaction for check access and active record
+4
View File
@@ -968,6 +968,10 @@ The RNG that describes the XML for a calendar view is stored in
``trytond/ir/ui/calendar.rng``.
There is also a RNC in ``trytond/ir/ui/calendar.rnc``.
The ``calendar_scroll_time`` context key determines the initial time to scroll
to.
The default value is ``datetime.time(6)``.
calendar
--------