Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2339 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
fev. 21
3744
2
set. 21
8799
1
ago. 24
2902
1
dez. 22
2348
3
ago. 25
6847