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.
Hi all, I try to overwrite originals buttons "save" and "save/create" which are in wizard opened in a one2many line, this for version openerp 6.1 . It is possible, and if yes, how to do that.
Thanks for your contribution.
I don't have any idea about web but I can give you another solution that you can override
create method will be called when you will create a record and
write will be called when you will update the record.
def create(cr, uid, vals, context=None): #Todo code super(your_class_name, self).create(cr, uid, vals, context=context) def write(cr, uid, ids, vals, context=None): #Todo code super(your_class_name, self).write(cr, uid, ids, vals, context=context)
Hope it will work for you.
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: 3/28/13, 9:47 AM|
|Seen: 8305 times|
|Last updated: 4/12/17, 5:45 PM|