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

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 498 views

Hi

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

Thanks

0

Ivan

--Ivan--
3210
| 5 3 6
Jakarta, Indonesia
--Ivan--
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

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

1 follower(s)

Stats

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