Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
7855 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
1
dez. 24
6341
3
ago. 24
7161
4
jul. 24
41674
5
abr. 23
99720
3
nov. 22
4620