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

Hello,

Using Odoo v15, when creating a new Quotation I select the customer, but then I can select any delivery address whether or not from the same customer. I need to limit the selectable adresses to be the selected customer addresses and not any address in our partner list.

Can I do that using "User-defined Filters"? How?

If not, should I change the code so that I force the addresses list to be only addresses of the selected customer? How?

Thank you!

아바타
취소
베스트 답변

here < xpath expr="//field[@name='partner_shipping_id']" position="attributes" >
< attribute name="domain">['|','&',('type', '=', 'delivery'),('parent_id', '=', partner_id),'&',('is_company', '=', False),('id', '=', partner_id)]< /attribute >
xpath >


아바타
취소

When I try adding this I get an error that says

This page contains the following errors:
error on line 10 at column 41: xmlParseEntityRef: no name.

what am I missing?

베스트 답변

There are many module available. Check for Auto Select Delivery warehouse. With this module, you can select delivery warehouse based on the customers.


아바타
취소
관련 게시물 답글 화면 활동
0
11월 23
1350
2
6월 23
12010
0
4월 16
3751
1
4월 25
1222
1
9월 24
1417