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

Hi,

I have many2many fields in Payment Model with payment_id as column1 and invoice_id as column2.

I want to exclude the invoice that already selected in other Payment records (having a record in rel table). So the Invoice won't be selected twice in the payment.

How do i do that? Do I still use domain?

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
helmik. 21
3776
2
syysk. 21
8824
1
elok. 24
2952
1
jouluk. 22
2366
3
elok. 25
6893