This question has been flagged
2 Replies
5672 Views

which function works when the edit button clicks in the form view?????

Avatar
Discard
Best Answer

Hiii abdul,

When you are click on edit button write method of ORM method call and this will return TRUE if your edited content write successfully.. 

For your knowledge when you click on create it will call create method and return id after creating record.

Avatar
Discard
Best Answer

While clicking edit button and clicking the save button after editing the document it will call the "def write(self, cr, user, ids, vals, context=None):" orm method

Avatar
Discard