Odoo Ayuda

0

0
1 Answer
0
Avatar

subbarao

--subbarao--

1216
| 5 1 7
Chennai, India
--subbarao--


subbarao
23/10/18 0:46

class ResPartner(models.Model):

    _inherit = 'res.partner'

    bookings = fields.One2many('ff.booking', 'partner_id', string='Booking')


class FfBooking(models.Model):

    _name = 'ff.booking'

    partner_id = fields.Many2one('res.partner', string='Partner')


I think you missed relation for both tables

2 Comments
FLOR & FJÆRE AS, Alf Olsen
23/10/18 2:43

No, I have that, I just didn't find it relevant to my problem.

FLOR & FJÆRE AS, Alf Olsen
23/10/18 2:46

I put it in there now so others wont be confused

Realizar una pregunta
Writer
Tag
Keep Informed
1 seguidor(es)
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