Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2469 Переглядів

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
2182
1
жовт. 21
1479
0
лют. 25
1394
1
серп. 19
3182
2
груд. 18
3622