Odoo Help

1

1
1 Answer
1
Avatar

Prakash

--Prakash--

3556
| 6 6 9
Bikaner, India
--Prakash--

OpenERP Developer at SunARC Technology

Prakash
7/15/14, 1:13 AM

You can pass the field values in the custom  method/function using browse method,

Example:-

 def method_name(self, cr, uid, ids, context=None):
        if context is None:
            context = {}
        values={}        
        for val in self.browse(cr, uid, ids, context=context):
             values['field1'] = val.column1
             values['field2'] = val.column2
             values['field3'] = val.column3
        return values

Ask a Question
Writer
734
Eric
Keep Informed
1 follower(s)
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