Odoo Help

Welcome!

This community 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.

0

many2many button action

By
Francisco Castro
on 3/11/14, 2:27 PM 941 views

Hi guys

I made this wizard:

image description

I want to click in the "edit", "duplicate" and "Delete" buttons and do the actions edit, duplicate and delete (rows) but What I dont know if its possible is when I click on the edit button on the first row it only edit the 1st row or if I click on the delete button on the 2nd row it only delete the 2nd row.

If someone knows How can I do this pls explain me, with some example or someting

0
Francisco Castro
On 3/12/14, 8:25 AM

to delete I have to do this

 def gs_unlink(self, cr, uid, ids, context=None):

    osv.osv.unlink(self, cr, uid, ids, context=context)
    return True

but when I click on the button the wizard close But I dont want that.....

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/11/14, 2:27 PM
Seen: 941 times
Last updated: 3/16/15, 8:10 AM