Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5888 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

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

Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Câu trả lời hay nhất

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>



Ảnh đại diện
Huỷ bỏ
Tác giả

Yes!! thank you

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 19
6887
0
thg 1 19
5915
1
thg 3 15
6275
0
thg 3 15
5161
1
thg 3 15
17647