Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2250 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 21
3595
2
thg 9 21
8533
1
thg 8 24
2671
KeyError: batch_id Đã xử lý
1
thg 12 22
2221
0
thg 8 24
1178