Odoo Help

0

how to get fields value from a list view in a wizard using dorwpdown list

By
abdallah ghrir
on 10/31/14, 4:37 AM 718 views

Hi

how to get fields value from a list view in a wizard using dorwpdown list ?????

Thanks

0
Ivan
On 10/31/14, 8:48 AM

Abdouerp, I think you need to provide more explanation.  From what I gather, you have a wizard that has a list view (which is most probably either a one2many or many2many field).  Now, I'm not clear where the dropdown list is and which fields value that you need to get.  To get the value of any fields in the one2many/many2many field you need to do something like:

_wizard_obj = self.browse(cr, uid, ids[0], context=context)

for _line in _wizard_obj.2many_fields_name:

    _field_value = _line.field_name_to_get

 

thakns John it works , thaks a lote :)

abdallah ghrir
on 10/31/14, 9:26 AM

thakns John it works , thaks a lote :)

abdallah ghrir
on 10/31/14, 9:26 AM

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

Question tools

1 follower(s)

Stats

Asked: 10/31/14, 4:37 AM
Seen: 718 times
Last updated: 3/16/15, 8:10 AM