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

Dear all,

Is there anyway that we can display full Invoice and Delivery addresses on Quotation/Sales Order, without having to click the customer name in order to see the address details?

아바타
취소
베스트 답변

Create auxiliary fields.

Since addresses are made of several fields, you should probably do something like this:


invoice_address = fields.Text('Invoice address', compute='_get_invoice_address')


... and then, obviously, write the _get_invoice_address method.

Finally, add the field to the view.


Perhaps another approach could be using on_change. When you change the partner_id field, the invoice_address one gets populated.


아바타
취소
관련 게시물 답글 화면 활동
2
5월 24
13423
2
5월 15
5059
4
10월 22
10654
1
6월 15
6991
1
3월 15
4600