Calendar: default view configuration

I would like to change the default view of a calendar.
By default, it's a monthly view and I would like to be able to choose between daily, weekly, monthly and yearly views.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Sprints

Whiteboard

Amit says:

It's already done in trunk version. You can specify view mode of the calendar by `mode="<mode>"` where mode can be either of `day, week or month`. For example...

<calendar string="My Calendar" mode="week" ...>
    ...
</calendar>

_____________________________

Corentin says:

I use the lastest trunk version and when I add 'mode="week"' in a calendar view from the web client I get the following error message

Error occured while validating the field(s) arch: Invalid XML for View Architecture!

Please help me...
_____________________________

Amit says:

Yes, it's confirmed that the server side validation is not updated yet. I have assigned a task to finish the RelaxNG validation of calendar view.

Try with the latest trunk version of OpenERP server and if not fixed, please file a bug...

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.