[IMP]product: removed product by template menu and action.
authorDarshan Kalola (OpenERP) <dka@tinyerp.com>
Fri, 17 Jan 2014 11:39:10 +0000 (17:09 +0530)
committerDarshan Kalola (OpenERP) <dka@tinyerp.com>
Fri, 17 Jan 2014 11:39:10 +0000 (17:09 +0530)
bzr revid: dka@tinyerp.com-20140117113910-csv71potcxaklem5

addons/product/product_view.xml

index eedbda8..4c315df 100644 (file)
               </p>
             </field>
         </record>
-        
-        <record id="product_action_template" model="ir.actions.act_window">
-            <field name="name">Products by Templates</field>
-            <field name="type">ir.actions.act_window</field>
-            <field name="res_model">product.product</field>
-            <field name="view_mode">tree,form,kanban</field>
-            <field name="view_type">form</field>
-            <field name="context">{"search_default_template_id":1, "search_default_filter_to_sell":1}</field>
-            <field name="view_id" ref="product_product_tree_view"/>
-            <field name="search_view_id" ref="product_search_form_view"/>
-            <field name="help" type="html">
-              <p class="oe_view_nocontent_create">
-                Click to define a new product.
-              </p><p>
-                You must define a product for everything you sell, whether it's
-                a physical product, a consumable or a service you offer to
-                customers.
-              </p><p>
-                The product form contains information to simplify the sale
-                process: price, notes in the quotation, accounting data,
-                procurement methods, etc.
-              </p>
-            </field>
-        </record>
 
         <record id="open_view_product_tree1" model="ir.actions.act_window.view">
             <field name="sequence" eval="2"/>
 
         <menuitem id="base.menu_product" name="Products" parent="base.menu_base_partner" sequence="9"/>
         <menuitem action="product.product_normal_action_sell" id="product.menu_products" parent="base.menu_product" sequence="1"/>
-        <menuitem action="product.product_action_template" id="product.menu_products_bytemplate" parent="base.menu_product" groups="product.group_product_variant" sequence="3"/>
 
         <record id="product_normal_action_puchased" model="ir.actions.act_window">
             <field name="name">Products</field>