Skip to Content
Menu
This question has been flagged

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?

Avatar
Discard
Best Answer

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.


Avatar
Discard
Related Posts Replies Views Activity
2
May 24
10684
2
May 15
3469
4
Oct 22
8601
1
Jun 15
5289
1
Mar 15
3302