Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Beside the save button at the top of the form, I want to put a save button in the bottom of the form, but I don't know what button name (action) should I use because i don't know where to access the top save button at the page header.
Yes you can define a new save button
On header put this :
<header> <button string="Save" type="object" name="save"/> <header>
On save method on python object put this
def save(self, cr, uid, ids, context): return True
You can return in place of
True a window action with the actual
ID, if you want to leave the edit mode.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/10/13, 7:17 AM|
|Seen: 4232 times|
|Last updated: 3/16/15, 8:10 AM|