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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 7629 times|
|Last updated: 11/2/16, 3:00 AM|