コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2287 ビュー

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
1216
2
6月 23
11814
0
4月 16
3642
1
4月 25
1044
1
9月 24
1260