sandwich: put menu into tools folder
bzr revid: ced-d254016315c3e14aabff86860ede5b3b5cf0daff
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<terp>
|
||||
<data>
|
||||
<menuitem name="Tools" id="menu_tools" type="STOCK_PREFERENCES"/>
|
||||
<record model="ir.ui.view" id="sandwich_product_type_view_form">
|
||||
<field name="name">sandwich.product.type</field>
|
||||
<field name="model">sandwich.product.type</field>
|
||||
@@ -29,7 +30,7 @@
|
||||
<field name="view_mode">form,tree</field>
|
||||
<field name="domain">[]</field>
|
||||
</record>
|
||||
<menuitem name="Sandwich/Configuration/Type of product" id="menu_action_sandwich_product_type" action="action_sandwich_product_type"/>
|
||||
<menuitem name="Tools/Sandwich/Configuration/Type of product" id="menu_action_sandwich_product_type" action="action_sandwich_product_type"/>
|
||||
|
||||
|
||||
<record model="ir.ui.view" id="sandwich_product_view_tree">
|
||||
@@ -63,7 +64,7 @@
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[]</field>
|
||||
</record>
|
||||
<menuitem name="Sandwich/Configuration/Product" id="menu_action_sandwich_product" action="action_sandwich_product"/>
|
||||
<menuitem name="Tools/Sandwich/Configuration/Product" id="menu_action_sandwich_product" action="action_sandwich_product"/>
|
||||
|
||||
|
||||
<record model="ir.ui.view" id="sandwich_order_line_view_tree">
|
||||
@@ -102,7 +103,7 @@
|
||||
<field name="domain">[]</field>
|
||||
<field name="view_id" ref="sandwich_order_line_view_form"/>
|
||||
</record>
|
||||
<menuitem name="Sandwich/Order lines" id="menu_action_sandwich_order_line" action="action_sandwich_order_line"/>
|
||||
<menuitem name="Tools/Sandwich/Order lines" id="menu_action_sandwich_order_line" action="action_sandwich_order_line"/>
|
||||
|
||||
|
||||
<record model="ir.actions.act_window" id="action_sandwich_my_order_line">
|
||||
@@ -112,7 +113,7 @@
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('user_id','=',uid)]</field>
|
||||
</record>
|
||||
<menuitem name="Sandwich/Order lines/My order lines" id="menu_action_sandwich_my_order_line" action="action_sandwich_my_order_line"/>
|
||||
<menuitem name="Tools/Sandwich/Order lines/My order lines" id="menu_action_sandwich_my_order_line" action="action_sandwich_my_order_line"/>
|
||||
|
||||
|
||||
<record model="ir.actions.act_window" id="action_sandwich_my_order_line_of_the_day">
|
||||
@@ -122,7 +123,7 @@
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('user_id','=',uid),('date','=',time.strftime('%Y-%m-%d'))]</field>
|
||||
</record>
|
||||
<menuitem name="Sandwich/Order lines/My order lines/My order lines of the day" id="menu_action_sandwich_my_order_line_of_the_day" action="action_sandwich_my_order_line_of_the_day"/>
|
||||
<menuitem name="Tools/Sandwich/Order lines/My order lines/My order lines of the day" id="menu_action_sandwich_my_order_line_of_the_day" action="action_sandwich_my_order_line_of_the_day"/>
|
||||
|
||||
|
||||
<record model="ir.actions.act_window" id="action_sandwich_order_line_of_the_day">
|
||||
@@ -132,7 +133,7 @@
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('date','=',time.strftime('%Y-%m-%d'))]</field>
|
||||
</record>
|
||||
<menuitem name="Sandwich/Order lines/Order lines of the day" id="menu_action_sandwich_order_line_of_the_day" action="action_sandwich_order_line_of_the_day"/>
|
||||
<menuitem name="Tools/Sandwich/Order lines/Order lines of the day" id="menu_action_sandwich_order_line_of_the_day" action="action_sandwich_order_line_of_the_day"/>
|
||||
|
||||
|
||||
<record model="ir.ui.view" id="sandwich_order_view_tree">
|
||||
@@ -178,7 +179,7 @@
|
||||
<field name="view_id" eval="False"/>
|
||||
<field name="domain">[('date','=',time.strftime('%Y-%m-%d'))]</field>
|
||||
</record>
|
||||
<menuitem name="Sandwich/Today's orders" id="menu_action_sandwich_order" action="action_sandwich_order"/>
|
||||
<menuitem name="Tools/Sandwich/Today's orders" id="menu_action_sandwich_order" action="action_sandwich_order"/>
|
||||
</data>
|
||||
</terp>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<field name="name">Create Order of the day</field>
|
||||
<field name="wiz_name">sandwich.order_create</field>
|
||||
</record>
|
||||
<menuitem name="Sandwich/Create Order" action="wiz_sandwich_create" type="wizard" id="sandwich_create_order"/>
|
||||
<menuitem name="Tools/Sandwich/Create Order" action="wiz_sandwich_create" type="wizard" id="sandwich_create_order"/>
|
||||
|
||||
</data>
|
||||
</terp>
|
||||
|
||||
Reference in New Issue
Block a user