Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3638 Lượt xem

We upgrade our Odoo 13 in 15, and i want to know if it's possible to disable the auto-save feature and force the user to use the save button.

Thanks !


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

mmmh , when i said auto-save, if you make an edit on partner and if you click on an another button in odoo you're partner is automatically save.

Ảnh đại diện
Huỷ bỏ

Have that same problem.
Do you have maybe some solution for that ?

I just found that it's connected with .js functions:

_urgentSave ---> this one save data when we reload page ( ctrl + r)

function registerView --> line --> beforeLeave: () => this.controllerRef.comp.__widget.canBeRemoved(), ---> this one is running when we click somewhere in interface.

Not yet sure if i can overwrite this functions and how to do this.

Câu trả lời hay nhất

In Odoo 15, By default there is no auto save feature.

Ảnh đại diện
Huỷ bỏ

Yes it is, i have installed default community version and this functionality is out of the box.