Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3773 Widoki

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!


Awatar
Odrzuć
Autor Najlepsza odpowiedź

Solve: Add copy=True field o2m on model

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
sie 24
15426
2
cze 23
4302
0
paź 17
2602
1
lip 16
10819
0
mar 15
3639