Odoo Help

0
3
Avatar
--Annadurai--


Annadurai
On 11/29/17, 8:59 AM

eg: partner_val = fields.One2many('res.partner','partner_id',string="partner")

in method:

@api.multi

def test_meth(self):

     for partner in self:

           print (partner.partner_val.name)

This will print partner's name avaliable in res.partner

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

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: 11/29/17, 6:17 AM
Seen: 324 times
Last updated: 12/7/17, 6:51 AM