Skip to Content
Menu
This question has been flagged

Hello,

I have 3 models.

Model_a.py:

fila = fields.one2many('model.c', 'keya')

 

Model_b.py:

filb = fields.one2many('model.c', 'keyb')

reference = fields.Char('Reference')

date = fields.Date('Date')


Model_c.py:

keyb = fields.many2one('model.b')

keya = fields.many2one('model.a')


I will put the same values from fields: 'reference' and 'date' into the one2many tree view fila and filb.

It also generates in many2one tree view of model_c.py two records with the same values or my many2one tree view have duplicated record.

So how to delete/remove duplicated records in many2one tree view of model_c.py?


Please help!

Thank you!

Avatar
Discard
Related Posts Replies Views Activity
1
Oct 23
3986
1
Jul 22
2796
0
Jan 21
2166
3
Mar 21
4383
1
Mar 21
16070