[FIX] purchase_requisition: fixed filters for purchase_requisition
authorRifakat (OpenERP) <rha@tinyerp.com>
Fri, 2 Mar 2012 14:41:41 +0000 (15:41 +0100)
committerXavier ALT <xal@openerp.com>
Fri, 2 Mar 2012 14:41:41 +0000 (15:41 +0100)
bzr revid: xal@openerp.com-20120302144141-0stcvss65gbemhgq

addons/purchase_requisition/purchase_requisition_view.xml

index bd47d09..b7cec0a 100644 (file)
         <field name="res_model">purchase.requisition</field>
         <field name="view_type">form</field>
         <field name="view_mode">tree,form</field>
-        <field name="context">{"search_default_create_uid":uid,'search_default_draft': 1}</field>
+        <field name="context">{"search_default_user_id":uid,'search_default_draft': 1}</field>
         <field name="search_view_id" ref="view_purchase_requisition_filter"/>
         <field name="help">A purchase requisition is the step before a request for quotation. In a purchase requisition (or purchase tender), you can record the products you need to buy and trigger the creation of RfQs to suppliers. After the negotiation, once you have reviewed all the supplier's offers, you can validate some and cancel others.</field>
     </record>