Skip to Content
Menu
This question has been flagged
1 Reply
7006 Views

How to add a view in the dashboard through coding. I don't want to add under menus. By clicking on the dashboard app itself i want to view my view.

Avatar
Discard
Best Answer

Hi Jithin

It is a good example

https://www.odoo.com/apps/modules/9.0/openeducat_core/

https://www.odoo.com/apps/modules/9.0/openeducat_assignment/

Then open /openeducat_assignment/dashboard/assignment_faculty_dashboard.xml

<record model="ir.ui.view" id="assignment_faculty_dashboard_form_view">
     <field name="name">board.faculty.form</field>
     <field name="model">board.board</field>
     <field name="inherit_id" ref="openeducat_core.board_faculty_form" />
        <field name="arch" type="xml">
            <xpath expr="//board" position="inside">
                 <column>
                    <action name="%(act_op_faculty_assignment)d" string="Assignments to Approve" />
                 </column>
            </xpath>
        </field>
 </record>
Avatar
Discard
Author

Shameem the one you shown is not what i want. I want to add the view into the main dashboard of the odoo through coding.

I have edited my answer

Related Posts Replies Views Activity
3
Aug 24
5503
4
Jul 24
38817
5
Apr 23
93737
3
Nov 22
2957
3
Aug 22
3040