Use product.product instead of product.template when we go through the ORM.
authorAlexis de Lattre <alexis@via.ecp.fr>
Mon, 9 Jul 2012 16:21:24 +0000 (18:21 +0200)
committerAlexis de Lattre <alexis@via.ecp.fr>
Mon, 9 Jul 2012 16:21:24 +0000 (18:21 +0200)
commit36cb6f479a6483d20cc894ca91f40159d53b6ec9
treef2cd70c63645f95d692fbce63296ad2a13a17e47
parente9c288b4bf9b82e505ee94a44b5c0e5dfd1f45f8
Use product.product instead of product.template when we go through the ORM.
In this process, I re-wrote the fonction change_product_qty_send_note in stock/wizard/stock_change_product_qty.py : the code is now much better !

bzr revid: alexis@via.ecp.fr-20120709162124-jmqv7hrl94fbzk1j
addons/product/pricelist.py
addons/product_visible_discount/product_visible_discount.py
addons/stock/wizard/stock_change_product_qty.py
addons/stock_planning/wizard/stock_planning_createlines.py
addons/stock_planning/wizard/stock_planning_forecast.py