Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2388 Представления

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

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
окт. 24
2082
1
окт. 21
1416
0
февр. 25
1269
1
авг. 19
3065
2
дек. 18
3474