Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5538 Переглядів

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>
Аватар
Відмінити
Найкраща відповідь

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.


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
квіт. 25
3566
3
груд. 22
11434
5
квіт. 24
41957
6
квіт. 24
38818
3
бер. 24
10456