Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2292 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
oct 24
1912
1
oct 21
1309
0
feb 25
1122
1
ago 19
2928
2
dic 18
3300