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


I need to add columns in the kanban of the helpdesk (stage_id) and delete the defaults columns from odoo, I'm trying the following code, but unfortunately this is only working the removal but the addition is not working

my code:


<odoo noupdate="0">

    <!--delete de columns, this work-->

    <delete model="helpdesk.stage" search="[('name','in',('Solved','New','In Progress','Cancelled'))]"/>


    <!--add new column, this does not work-->

    <record id="stage_desknew1" model="helpdesk.stage">

      <field name="name">Pendente</field>

      <field name="probability">10</field>

      <field name="on_change">1</field>

      <field name="sequence">1</field>

    </record>


</odoo>


obs: version: odoo 10, i have call this code as a data file

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 20
5844
3
thg 4 20
6539
1
thg 2 19
6811
0
thg 1 19
5849
1
thg 3 15
17592