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

I want to duplicate all the information of the record, including the o2m field

<notebook>

     <page string="Job" name="job_estimate_id">

        <field name="job_estimate_id" attrs="{'readonly': [('state', '!=','draft')]}">

            <tree editable="bottom">

                <field name="name" invisible="1" force_save="1"/>

                <field name="job_recruitment_id" />

                <field name="no_of_recruitment" string="Quantity" />

            </tree>

        </field>

    </page>

</notebook>


Sorry, my English is not very good!

Thanks!


อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Solve: Add copy=True field o2m on model

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ส.ค. 24
15429
2
มิ.ย. 23
4303
0
ต.ค. 17
2602
1
ก.ค. 16
10821
0
มี.ค. 15
3649