跳至内容
菜单
此问题已终结
1 回复
3780 查看

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

形象
丢弃
相关帖文 回复 查看 活动
3
8月 24
15428
2
6月 23
4303
0
10月 17
2602
1
7月 16
10821
0
3月 15
3644