Add _get_partner_to_invoice() to purchase module.
authorAlexis de Lattre <alexis@via.ecp.fr>
Thu, 5 Jan 2012 21:42:30 +0000 (22:42 +0100)
committerAlexis de Lattre <alexis@via.ecp.fr>
Thu, 5 Jan 2012 21:42:30 +0000 (22:42 +0100)
commit1f9401bf416cf7c3b7dc553bdff6e33ca986b9b5
treed69b4384fa0bac1bd9b551f8e8dfbb3ad160b11f
parent752186173fed4c2a3b71f4e504a0e8336cfb12a9
Add _get_partner_to_invoice() to purchase module.
Inheritance of _prepare_invoice() now replaces the functions _get_payment_term() and _get_address_invoice(). I have checked that these two functions are not used elsewere in the addons and extra-addons.

bzr revid: alexis@via.ecp.fr-20120105214230-3wetu0v1foyeate3
addons/purchase/stock.py
addons/sale/stock.py
addons/stock/stock.py