Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4238 Näkymät

Hello everyone,

 

I'm new here, and i'm so happy to join this big and generous family,

I'm asking about version 9, i want some explication about the Odoo tutorial in the community website 'openacademy', and exactly about the relation of the two classes (Course / Res.User)

So my question is : why we don't have the reverse relationship One2Many ine the class User for responsible_id in the model Course ?

The course says that for every Many2One there's a One2Many relationship in the other side, but not used on that tutorial, why i'm wondering.

 

Thanks for you all

Avatar
Hylkää

Best odoo training and tips: https://goo.gl/8HgnCF

Tekijä Paras vastaus

I reversed notions i was confused because i was following two courses in the same time : so it's one2many who's required reverse relation as many2one in the related side


Thanks

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
huhtik. 17
4486
0
huhtik. 16
3023
3
heinäk. 17
3709
0
marrask. 16
3681
1
lokak. 16
10006