コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3774 ビュー

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
15426
2
6月 23
4302
0
10月 17
2602
1
7月 16
10819
0
3月 15
3639