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
Odoo Training Center
|Asked: 3/28/13, 9:47 AM|
|Seen: 9198 times|
|Last updated: 4/12/17, 5:45 PM|