Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
7950 Visualizações

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.

Avatar
Cancelar
Melhor resposta

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

i have tried that but i get nothing in result

Avatar
Cancelar
Melhor resposta

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

Avatar
Cancelar
Melhor resposta

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

Avatar
Cancelar
Melhor resposta

Hi Earl,

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
fev. 23
3384
3
dez. 22
3335
2
mar. 15
5502
2
jul. 25
2460
1
jul. 25
648