This question has been flagged
1 Reply
4691 Views

Hi all,

How to get calendar view inside the tabs.

Thanks in advance

Avatar
Discard

me too need this...


On Mon, Jan 12, 2015 at 1:21 PM, atchuthan <atchuthantu@mail.odoo.com> wrote:

A new answer for Get Calendar View inside tab has been posted. Click here to access the post.

--
atchuthan
Sent by Odoo Inc. using Odoo about Forum Post Get Calendar View inside tab



--

Thanks & Regards,
Anand K
Associate Software Engineer,
Mitosis Technologies Pvt Ltd,
Mobile No :  +91 8124787741.
Best Answer

Add an one2many field which contain a calendar view in it.

If calendar view is already defined.
<field name="one2many_field" colspan="4" nolabel="1"
                                mode="calendar,tree,form" />

If calendar view not defined.
<field name="one2many_field" colspan="4" nolabel="1"
    mode="calendar,tree,form">
    <calendar>
    .
    </calendar>
    <form>
    .
    </form>
    <tree>
    .
    </tree>
</field>

Avatar
Discard
Author

thanks

Author

hi atchuthan, as you told i have done. the code is .xml: " " .py (panel.info): 'trainer_ids' : fields.one2many('trainer.profile.info', 'trainer_id', 'Trainer'), and in .py('trainer.profile.info' class): 'trainer_id': fields.many2one('panel.info','Trainer'), I am getting openerp client error when i run i.e: "Error: View type 'calendar' is not supported in One2Many." http://localhost:8069/web/webclient/js?db=demo:3621 Thanks

Author

.xml:

Author

page string="Assignment Schedules" field name="trainer_ids" colspan="4" nolabel="1" mode="calendar,tree,form" calendar string="EM Admin Dashboard" date_start="date1" date_stop="date2" color="name" field name="date1"/ /calendar /field /page