تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2335 أدوات العرض

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?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
فبراير 21
3743
2
سبتمبر 21
8798
1
أغسطس 24
2892
KeyError: batch_id تم الحل
1
ديسمبر 22
2346
3
أغسطس 25
6836