Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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?
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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/25/15, 7:51 AM|
|Seen: 653 times|
|Last updated: 6/1/15, 9:57 AM|