From 8c050cca0544d65ca047864aec3c3b05bf45599b Mon Sep 17 00:00:00 2001 From: "Amit Bhavsar (Open ERP)" Date: Tue, 8 Nov 2011 16:57:00 +0530 Subject: [PATCH] [pricelist],saprate the action for the purchase and sale pricelist bzr revid: amb@tinyerp.com-20111108112700-7q0wwzvb8krot8ry --- addons/product/pricelist_view.xml | 13 +++++++++++++ addons/purchase/purchase_view.xml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/addons/product/pricelist_view.xml b/addons/product/pricelist_view.xml index 79e6773980c..2f8982a1faf 100644 --- a/addons/product/pricelist_view.xml +++ b/addons/product/pricelist_view.xml @@ -165,6 +165,19 @@ form tree,form + {"search_default_type":"sale"} + [('type','=','sale')] + A price list contains rules to be evaluated in order to compute the purchase or sales price for all the partners assigned to a price list. Price lists have several versions (2010, 2011, Promotion of February 2010, etc.) and each version has several rules. Example: the customer price of a product category will be based on the supplier price multiplied by 1.80. + + + Pricelists + ir.actions.act_window + product.pricelist + form + tree,form + + {"search_default_type":"purchase"} + [('type','=','purchase')] A price list contains rules to be evaluated in order to compute the purchase or sales price for all the partners assigned to a price list. Price lists have several versions (2010, 2011, Promotion of February 2010, etc.) and each version has several rules. Example: the customer price of a product category will be based on the supplier price multiplied by 1.80.