Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ott 23
5152
1
apr 25
4003
0
gen 21
3024
3
mar 21
5328
1
mar 21
19004