Skip to Content
Menu
You need to be registered to interact with the community.
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
okt. 23
5132
1
apr. 25
3975
0
jan. 21
3014
3
mar. 21
5296
1
mar. 21
18936