Skip to Content
Menu
This question has been flagged
2 Replies
2844 Views

hello,

I create pivot view but it doesn't view anything 

 id="test_report_view_pivot" model="ir.ui.view">
name="name">test.report.pivot
name="model">appointment.appoyntment
name="arch" type="xml">
sample="1">
name="App_date" type="col"/>
name="doctor" interval="month" type="row"/>




the icon of pivot view not show so i can't view this


Avatar
Discard
Best Answer

Hi,

Please refer to this blog to understand how to create pivot view in odoo 16.


https://www.cybrosys.com/blog/how-to-create-pivot-view-in-odoo-16


Hope it helps

Avatar
Discard
Best Answer

Hi 

Did you add it in the window action of the model appointment.appointment ? If not, add the view in the window action as follows

<record model="ir.actions.act_window" id="action_appointment">

<field name="name">Appointment</field>

<field name="res_model">appointment.appointment</field>

<field name="view_mode">tree,form,pivot,graph</field>

<field name="help" type="html">

<p class="oe_view_nocontent_create">Appointment 

</p>

</field>

</record>


Pivot view


Regards


Avatar
Discard

@Bella James I have same problem and I add action but still pivot icon dosen't appear