openerp - Button in tree view odoo 9 -
i need button in tree view line. after click on button ned line id.
i'm try, not working:
<button name="copy_line" class="text-right" icon="fa-files-o" type="object"/> @api.multi def copy_line(self): print("not come here!") r in self: print(r.id) object has no attribute 'copy_line'
Comments
Post a Comment