Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2452 Visualizações

Hey, 

I'd like to display a list of invoice (account move) that contain a specific account number in the account move line

We can search by account number in the account move line viewbut not in the account move view.

Thanks in advance

Avatar
Cancelar
Melhor resposta

Try to add the field in the code to the account.move model

test_field = fields.Text(string='That's the answer', related='move_line_ids.account_number')


Not sure about the fields' names, but that's the idea.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
out. 24
2158
1
out. 21
1463
0
fev. 25
1364
1
ago. 19
3142
2
dez. 18
3586