Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2374 Переглядів

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?

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лют. 21
3771
2
вер. 21
8820
1
серп. 24
2948
KeyError: batch_id Вирішено
1
груд. 22
2366
3
серп. 25
6893