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

Hello,

I am looking high and low for any kind of clue as to how the customers are linked to their account. I looked in all the accounts, and res_partner tables, but could not find out how the customer is linked to its account receivable, and account payable account. Does anyone know how they are linked? Thank you

아바타
취소
작성자 베스트 답변

Well, I finally found how the customers are linked to their accounts. In the ir.property table there are two fields that establishes their connection.

The 'value_reference' field has data that references the account table and the record id like this: 'account.account,12'

The 'res_id' field has data that references the res_partner table and record id like this: 'res.partner, 18'

what this does is use the account with an id of 12 and associates that account with the customer that has an id of 18

아바타
취소
베스트 답변

If you activate developer mode and mouse over the field, it will give you the field name.

image description

아바타
취소
작성자

Thank you for your help. I actually found the relationship in the ir_property table which uses two fields to make the connection.

관련 게시물 답글 화면 활동
1
8월 23
7308
0
3월 15
3597
1
3월 24
2939
0
12월 16
3475
2
3월 15
4415