Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
5839 Näkymät

Hi everyone!

I'm working with Odoo v13 Community and I bought a third party app that doesn't include Kanban View and I want to add it.

I've created the view in Settings --> Technical --> Views



with the following code:


But the Kanban View option in the model is still missing.

am i missing something?

I would really appreciate some help, thanks in advance!

Avatar
Hylkää
Paras vastaus

Hi,

You have to specify the newly created view inside the action of the corresponding menu.

Thanks

Avatar
Hylkää
Tekijä

thank you for the answer, I was missing that!!

Paras vastaus

I guess you are missing the "kanban" keyword in your "r.actions.act_window" (put kanban first if you want to see it once you click on the model)

With developer mode:

You can go Settings --> Technical --> Window actions and add "kanban" keyword to view mode

OR

Do it through code

You can add it like the following with xml:

<record model="ir.actions.act_window" id="yourModel_action">
      <field name="name">Your Model</field>
      <field name="type">ir.actions.act_window</field>
      <field name="res_model">yourModel.yourModel</field>
      <field name="view_mode">kanban,tree,form,graph,pivot</field>
    </record>



Avatar
Hylkää
Tekijä

Yes!! thank you

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
helmik. 19
6810
0
tammik. 19
5849
1
maalisk. 15
6238
0
maalisk. 15
5110
1
maalisk. 15
17591