Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
6041 มุมมอง


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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 20
5825
3
เม.ย. 20
6525
1
ก.พ. 19
6803
0
ม.ค. 19
5841
1
มี.ค. 15
17584