← Back to team overview

openerp-dev-web team mailing list archive

lp:~openerp-dev/openobject-addons/trunk-usability-product-search-view-pos-tta into lp:~openerp-dev/openobject-addons/trunk-usability

 

Tejaskumar Tank (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-usability-product-search-view-pos-tta into lp:~openerp-dev/openobject-addons/trunk-usability.

Requested reviews:
  Tejaskumar Tank (OpenERP) (tta-openerp)
  Amit (Open ERP) (apa-tiny)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-usability-product-search-view-pos-tta/+merge/62291

Hello,


For[point of sales] input and output operation product search view, I put the visible domain.

Now its easy for user to differentiate the input/output operational product with general product.



Thanks,
Tejas (tta@xxxxxxxxxxx) 
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-usability-product-search-view-pos-tta/+merge/62291
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-usability.
=== modified file 'sale/sale_view.xml'
--- sale/sale_view.xml	2011-05-18 13:07:27 +0000
+++ sale/sale_view.xml	2011-05-25 12:51:04 +0000
@@ -7,7 +7,17 @@
         <menuitem id="base.menu_sales" name="Sales" parent="base.menu_base_partner" sequence="1"/>
 
         <menuitem id="base.menu_product" name="Products" parent="base.menu_base_partner" sequence="9"/>
-        <menuitem action="product.product_normal_action" id="product.menu_products" parent="base.menu_product" sequence="1"/>
+         <record id="product_normal_action_sell" model="ir.actions.act_window">
+            <field name="name">Products</field>
+            <field name="type">ir.actions.act_window</field>
+            <field name="res_model">product.product</field>
+            <field name="view_type">form</field>
+            <field name="context">{"search_default_filter_to_sell":1}</field>
+            <field name="view_id" ref="product.product_product_tree_view"/>  
+            <field name="search_view_id" ref="product.product_search_form_view"/>            
+            <field name="help">You must define a Product for everything you buy or sell. Products can be raw materials, stockable products, consumables or services. The Product form contains detailed information about your products related to procurement logistics, sales price, product category, suppliers and so on.</field>
+        </record>
+        <menuitem action="product.product_normal_action_sell" id="product.menu_products" parent="base.menu_product" sequence="1"/>          
 
         <record id="view_shop_form" model="ir.ui.view">
             <field name="name">sale.shop</field>


Follow ups