Add scroll time for calendar view
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,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
|
||||
|
||||
@@ -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
|
||||
--------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user