From 8531184a9295da42eebf5b7ad2a7a2d997427fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dami=C3=A1nSoriano?= <> Date: Mon, 9 Jul 2012 15:08:11 +0530 Subject: [PATCH] [FIX] Fixes problem of adding product in supplier invoice when product_visible_discount installed lp bug: https://launchpad.net/bugs/1021436 fixed bzr revid: jir@jir-desktop-20120709093811-ojp32jo3g19v2kf5 --- addons/product_visible_discount/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product_visible_discount/__openerp__.py b/addons/product_visible_discount/__openerp__.py index d957c6d87ed..5a3b3518220 100644 --- a/addons/product_visible_discount/__openerp__.py +++ b/addons/product_visible_discount/__openerp__.py @@ -33,7 +33,7 @@ Example: If the check box is checked, we will have on the sale order line: Unit price=450, Discount=50,00, Net price=225 If the check box is unchecked, we will have on Sale Order and Invoice lines: Unit price=225, Discount=0,00, Net price=225 """, - "depends": ["sale"], + "depends": ["sale","purchase"], "demo_xml": [], "update_xml": ['product_visible_discount_view.xml'], "auto_install": False,