Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Adding a view to Dashboard

By
Jithin
on 9/26/16, 7:13 AM 173 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.

0
shameem@aχoncoms
On 9/26/16, 7:47 AM

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>

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.

Jithin
on 9/26/16, 9:00 AM

I have edited my answer

shameem@aχoncoms
on 9/26/16, 10:58 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/26/16, 7:13 AM
Seen: 173 times
Last updated: 9/26/16, 7:47 AM