summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorAtik Agewan (OpenERP) <aag@tinyerp.com>2011-10-05 11:32:38 +0530
committerAtik Agewan (OpenERP) <aag@tinyerp.com>2011-10-05 11:32:38 +0530
commitb84df3fa886f72fd7ce515ffd5eeedd4c7b5d055 (patch)
tree3dee6af6a9ae43da91f1c9f3ff226bed209241e9 /addons
parent2f9b990ac282fab59b116a8a2d2fa0c572cd6b23 (diff)
[FIX] Purchase:To Approve Buttons will showe Purchase order which are yet not approve
lp bug: https://launchpad.net/bugs/864970 fixed bzr revid: aag@tinyerp.com-20111005060238-qbxmmh10okkntr6s
Diffstat (limited to 'addons')
-rw-r--r--addons/purchase/purchase_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index 60c6c39bf05..c1e321a0704 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -276,7 +276,7 @@
<search string="Search Purchase Order">
<group>
<filter icon="terp-document-new" name="draft" string="Quotations" domain="[('state','=','draft')]" help="Purchase order which are in draft state"/>
- <filter icon="terp-gtk-jump-to-ltr" name="to_approve" string="To Approve" domain="[('state', '=', 'confirmed')]" help="Purchase order which are yet not approve"/>
+ <filter icon="terp-gtk-jump-to-ltr" name="to_approve" string="To Approve" domain="[('state','in',('draft','wait','confirmed'))]" help="Purchase order which are yet not approve"/>
<filter icon="terp-check" name="approved" string="Approved" domain="[('state','in',('approved','done'))]" help="Approved purchase order"/>
<separator orientation="vertical"/>
<filter icon="terp-emblem-important" name="exception" string="Exception" domain="[('state','in',('except_invoice','except_picking'))]" help="Purchase order which are in the exception state"/>