Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5544 Vizualizări

Hello community,


Actually my requirement is record will be save only if i click save button. but whenever i click button in my form then duplicate record saved in my table. so how to sort out this issue in odoo 8 ?

  <button name="show_fevrier" type="object">
     <field name="mo_2" nolabel="1"/>
</button>
Imagine profil
Abandonează
Cel mai bun răspuns

You  cannot do anything for it, Odoo is designed in such a way, that the saving of the record can be easily done using either Save Button or any Custom Buttons, which leads to efficiency of usage.


However in your case, duplicate records are getting created, could that mean, there is something wrong in your code, perhaps you are manually calling create method in your custom method, or it could be due some other issues, do check it out.


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
apr. 25
3585
3
dec. 22
11472
5
apr. 24
41993
6
apr. 24
38868
3
mar. 24
10484