콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2461 화면

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.

아바타
취소
관련 게시물 답글 화면 활동
2
10월 24
2171
1
10월 21
1471
0
2월 25
1388
1
8월 19
3169
2
12월 18
3602