Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6313 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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.


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
mai 24
13002
2
mai 15
4859
4
oct. 22
10431
1
iun. 15
6769
1
mar. 15
4472