[REVERT]9882 revid:jri@openerp.com-20140307160945-r2t5pbl2bb7yaw9n
authorDenis Ledoux <dle@openerp.com>
Mon, 10 Mar 2014 13:33:14 +0000 (14:33 +0100)
committerDenis Ledoux <dle@openerp.com>
Mon, 10 Mar 2014 13:33:14 +0000 (14:33 +0100)
commit4235dc8e88378d013d74d85f1b4f18e7ce4b6882
tree3701b480c4255902551b7291b741fbf388459659
parent42525b7805d98a4181667cd3c99a3b7fcaa3a6a5
[REVERT]9882 revid:jri@openerp.com-20140307160945-r2t5pbl2bb7yaw9n

While it seems right to only show the partner addresses in invoice and shipping addresses, this fix will prevent to use sibling addresses (the address of another contact in the same company), which is a requirement for several users. Therefore, this fix causes more problems than it resolves.

Moreover, these addresses are displayed on the invoice form as following: Company Name / Partner Name / Address Name. Therefore, if you want to change the address while seeing only the partner addresses, you just have to remove the "Address Name", leaving "Company Name / Partner Name".

bzr revid: dle@openerp.com-20140310133314-5mv4h2h5zmqlw4d2
addons/sale/sale.py