+ <!--Action for Lunch cashmoves-->
+ <record model="ir.actions.act_window" id="action_lunch_cashmove_form">
+ <field name="name">Your Account</field>
+ <field name="res_model">lunch.cashmove</field>
+ <field name="view_mode">tree</field>
+ <field name="search_view_id" ref="view_lunch_employee_payment_filter"/>
+ <field name="context">{"search_default_is_mine_group":1}</field>
+ <field name="view_id" ref="casmove_tree"/>
+ <field name="help" type="html">
+ <p>
+ Here you can see your cash moves.<br/>A cash moves can be either an expense or a payment.
+ An expense is automatically created when an order is received while a payment is a reimbursement to the company encoded by the manager.
+ </p>
+ </field>
+ </record>
+ <menuitem name="Your Lunch Account" parent="menu_lunch_title" id="menu_lunch_cashmove_form" action="action_lunch_cashmove_form" sequence="3"/>
+
+ <!--Action for Administrate Orders group by supplier-->
+ <record model="ir.actions.act_window" id="action_lunch_order_by_supplier_form">
+ <field name="name">Orders by Supplier</field>
+ <field name="res_model">lunch.order.line</field>
+ <field name="view_mode">tree</field>
+ <field name="search_view_id" ref="lunch_order_line_search_view"/>
+ <field name="context">{"search_default_group_by_supplier":1, "search_default_today":1}</field>
+ <field name="help" type="html">
+ <p>
+ Here you can see today's orders grouped by suppliers.
+ </p>
+ <p>
+ - Click on the <img src="../../../web/static/src/img/icons/terp-call-start.png"/> to announce that the order is ordered <br/>
+ - Click on the <img src="../../../web/static/src/img/icons/gtk-apply.png"/> to announce that the order is received <br/>
+ - Click on the <img src="../../../web/static/src/img/icons/gtk-cancel.png"/> to announce that the order isn't available
+ </p>
+ </field>
+ </record>
+ <menuitem name="Today's Orders by Supplier" parent="menu_lunch_admin" id="menu_lunch_order_by_supplier_form" action="action_lunch_order_by_supplier_form" />
+
+ <!--Action for control Supplier-->
+ <record model="ir.actions.act_window" id="action_lunch_control_suppliers">
+ <field name="name">Control Suppliers</field>
+ <field name="res_model">lunch.order.line</field>
+ <field name="view_mode">tree</field>
+ <field name="search_view_id" ref="lunch_order_line_search_view"/>
+ <field name="context">{"search_default_group_by_date":1, "search_default_group_by_supplier":1}</field>
+ <field name="help" type="html">
+ <p>
+ Here you can see every orders grouped by suppliers and by date.
+ </p>
+ <p>
+ - Click on the <img src="../../../web/static/src/img/icons/terp-call-start.png"/> to announce that the order is ordered <br/>
+ - Click on the <img src="../../../web/static/src/img/icons/gtk-apply.png"/> to announce that the order is received <br/>
+ - Click on the <img src="../../../web/static/src/img/icons/gtk-cancel.png"/> red X to announce that the order isn't available
+ </p>
+ </field>
+ </record>
+ <menuitem name="Orders by Supplier" parent="menu_lunch_admin" id="menu_lunch_control_suppliers" action="action_lunch_control_suppliers" />