Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
7176 Lượt xem

How would one modify OpenERP to only show the selected customer's associated addresses in the invoice/shipping address fields on the Sales Order entry form? By default OpenERP 7.0 allows you to select from all addresses, even if they are unrelated to the selected customer.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

the other domain condition should be ["parent_id","=","partner_id"]

i have tried that but i get nothing in result

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hey, i have the same issue, do you find a solution ? 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Right, use the domain as parent_id=partner_id and it will do. Thanks.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Earl,

Use domain filter for that field. Pretty Easy to implement. Just do some research and you can do it yourself..!!!!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 23
2453
3
thg 12 22
2745
2
thg 3 15
4979
3
thg 4 25
771
3
thg 4 25
1448