I added a button to the sale order details tree view. When user hit the button I want to open the form view of the product.
<button name="action_link" string="" type="object" icon="gtk-go-forward"/>
in sale_order_line I put the action:
class sale_order_line(osv.osv):
def action_link(self, cr, uid, ids, context=None):
print(ids)
# return { ... to open the product form
It prints the id of the sale_order_line, but what must I return to open the product form in the client ?