Skip to Content
Menu
This question has been flagged

Hello All,

I want to open calendar view in many2one field "Search More" option. For this in XML i applied calendar view reference in many2one field. But, didn't get require result.

Thanks in advance.

<record id="view_partner_fare_well_ser_calendar" model="ir.ui.view">
<field name="name">fare.well.room.ser.calendar</field>
<field name="model">fare.well.room.ser</field>
<field name="arch" type="xml">
<calendar string="Farewell Room" color="status" date_start="cere_start_date">
<field name="room"/>
<field name="cere_start_date"/>
<field name="cere_end_date"/>
<field name="status"/>
</calendar>
</field>
</record>

<field name="ceremonial_room"
context="{'calendar_view_ref': 'P2N_Sales.view_partner_fare_well_ser_calendar'}"
options="{'limit': 1, 'no_open': True, 'no_create': True, 'no_create_edit': True}"/>
Avatar
Discard
Related Posts Replies Views Activity
0
Jun 18
1890
4
May 17
7709
2
Mar 24
404
0
Aug 22
894
1
Jul 22
17729