[IMP] help menutips for PoS
[odoo/odoo.git] / addons / point_of_sale / point_of_sale_view.xml
1 <?xml version="1.0"?>
2 <openerp>
3     <data>
4
5         <!-- Top menu item -->
6         <menuitem name="Point of Sale"
7             id="menu_point_root"
8             groups="group_pos_manager,group_pos_user"
9             sequence="140"/>
10
11         <record id="categ_others" model="pos.category">
12             <field name="name">Others</field>
13         </record>
14         <record id="pomme_de_terre" model="product.product">
15           <field name="list_price">1.00</field>
16           <field name="name">Unreferenced Products</field>
17           <field name="pos_categ_id" ref="categ_others"/>
18           <field name="image">iVBORw0KGgoAAAANSUhEUgAAAFUAAABQCAYAAABoODnpAAAABGdBTUEAALGPC/xhBQAAAAFzUkdC
19 AkDAfcUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dE
20 AP4A/gD+6xjUggAAAAlwSFlzAAAXEgAAFxIBZ5/SUgAAAAl2cEFnAAAAVQAAAFAA8yp5GQAAJFFJ
21 REFUeNrdfXecVNXZ//fembnTy07f2dm+O9sXFtgC0kEBX9EQI0YRDWpiibFEjeaNJmqKRiXRBGI0
22 eWMvYAMEEYWlKGULZXudrbO703sv9/7+WCHbUDC0/J7PZygzd855zvc85zzn+Z7nnCFwsYRhILr+
23 DQTnlHD0va1Kud+ZJgr5c0RhfzY/GkzjR0PJVCwqpxJRMUnTPAAEACZBssIxNscfZVPOMMUfDlKC
24 /gBPaPTxxUaXSD5gyiiwC7+oi3m33QGwiYvStAtaK2d9HWJqNZFRd0CpdlsKlT57pcJrn6X0OfLl
25 fkeyLOCWSEJeDj8SJLixCDiJGFh0AgTDnCqDJkjQJIkYi4MIh4sQV8B4eeKoWyjzOcWKEbtE2eEQ
26 K+vtYsURq0zb2jdrvp1jszKxB8v//wGVfLkN9Pfzkf67txUpdlNVsntkeYrDNF/vMGVrXSNCud8F
27 fjQINp04pQwz5vvMFGUSU/ybARAnWQhyBXCJ5DDLtIEhhd44JE/5ciQp+bMhhf5I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UX6R2D12Za
178 e6/ONnfnp9kHKWnADc7Xy5nzce//xLl7UJka7dFkd/Vqsj4ZVKa+b9TnN4m9ztjQn394zlce5xXU
179 k0Ktr0E0PZ/I3vexWuccuizZOXxlqmPwshSHKUPrtvBkARd40TDYY67YZCb8/U2Kj21AgiAR5vDg
180 FspgTtJGTAp9v0mRenA4KXnniDzlq+7KZWauuZ+J/GL2eW3zBT0xI3hiL4IKBZnTflSr9lhKFV57
181 ldLnmKX02nLlfodaFvCIxCEvmx8NgRuLgE3HQdKj8+hJOfmDNHGSPfqDNBQfPr447hHKAg6RwuoQ
182 K7rsEuVRu1h1xCZVN3TnTTML7M5E4LeXX7B2XrxD3w0xoJQN/tNf8XRD3RpZwJ0hCvtyROFAjiAS
183 TOdHQzoqHpWxEzERi06c+ukkmiAjoz+dxHWHKP5IkCvoD/CE3T6euNsjlPYO6XLMof+dF8aJOFB2
184 cU5f/z+rXz1t3lG/LgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxMi0wOC0xMFQxMzoyNjoxNSswMjow
185 MJsC4wUAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTItMDgtMTBUMTM6MjY6MDkrMDI6MDDhVTFTAAAA
186 GXRFWHRTb2Z0d2FyZQBNaWNyb3NvZnQgT2ZmaWNlf+01cQAAAABJRU5ErkJggg==</field>
187         </record>
188
189
190         <record model="ir.ui.view" id="view_pos_pos_form">
191             <field name="name">pos.order</field>
192             <field name="model">pos.order</field>
193             <field name="type">form</field>
194             <field name="arch" type="xml">
195                 <form string="Point of Sale Orders" version="7.0">
196                     <div class="oe_form_topbar">
197                         <button name="%(action_pos_payment)d" string="Payment" icon="gtk-apply" type="action" states="draft" context="{'pos_session_id' : session_id}"/>
198                         <button name="action_invoice" string="Invoice" icon="gtk-apply" type="object" states="paid" attrs="{'readonly': [('partner_id','=',False)]}"/>
199                         <button name="refund" string="Return Products" type="object" icon="gtk-ok"
200                             attrs="{'invisible':[('state','=','draft')]}"/>
201                         <button name="%(action_report_pos_receipt)d" string="Reprint" icon="gtk-print" type="action" states="paid,done,invoiced"/>
202                             <div class="oe_right">
203                                 <field name="state" nolabel="1" widget="statusbar" statusbar_visible="draft,paid,done" statusbar_colors='{"cancel":"red"}'/>
204                             </div>
205                     </div>
206                     <sheet>
207                     <group col="4" colspan="4">
208                         <field name="name"/>
209                         <field name="date_order"/>
210                         <field name="session_id" required="1" />
211                         <field name="partner_id" on_change="onchange_partner_id(partner_id)" context="{'search_default_customer':1}" attrs="{'readonly': [('state','=','invoiced')]}"/>
212                     </group>
213                     <notebook colspan="4">
214                         <page string="Products">
215                             <field name="lines" colspan="4" nolabel="1">
216                                 <tree string="Order lines" editable="bottom">
217                                     <field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,qty,parent.partner_id)"/>
218                                     <field name="qty" on_change="onchange_qty(product_id, discount, qty, price_unit, context)"/>
219                                     <field name="price_unit" on_change="onchange_qty(product_id, discount, qty, price_unit, context)"/>
220                                     <field name="discount"  on_change="onchange_qty(product_id, discount, qty, price_unit, context)"/>
221                                     <field name="price_subtotal"/>
222                                     <field name="price_subtotal_incl"/>
223                                 </tree>
224                                 <form string="Order lines" version="7.0">
225                                     <group col="4">
226                                         <field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,qty,parent.partner_id)"/>
227                                         <field name="qty" on_change="onchange_qty(product_id, discount, qty, price_unit, context)"/>
228                                         <field name="discount"  on_change="onchange_qty(product_id, discount, qty, price_unit, context)"/>
229                                         <field name="price_unit" on_change="onchange_qty(product_id, discount, qty, price_unit, context)"/>
230                                         <field name="price_subtotal" invisible="1"/>
231                                         <field name="price_subtotal_incl" invisible="1"/>
232                                         <field name="notice"/>
233                                     </group>
234                                 </form>
235                             </field>
236                             <group class="oe_subtotal_footer">
237                                 <field name="amount_tax"/>
238                                 <field name="amount_total"/>
239                                 <button name="button_dummy" string="Update" icon="gtk-execute" states="draft" />
240                             </group>
241                         </page>
242                         <page string="Payments">
243                             <field name="statement_ids" colspan="4" nolabel="1">
244                                 <tree editable="bottom" string="Statement lines">
245                                     <field name="journal_id"/>
246                                     <field name="statement_id" />
247                                     <field name="amount"/>
248                                 </tree>
249                                 <form string="Statement lines" version="7.0">
250                                     <group col="4">
251                                         <field name="account_id"/>
252                                         <field name="amount"/>
253                                         <field name="statement_id" domain="[('company_id','=',parent.company_id),('state','=','open')]"/>
254                                     </group>
255                                 </form>
256                             </field>
257                         </page>
258                         <page string="Extra Info">
259                             <group string="General Information">
260                                 <field name="company_id" groups="base.group_multi_company"/>
261                                 <field name="shop_id" widget="selection"/>
262                                 <field name="user_id"/>
263                                 <field name="pricelist_id" groups="product.group_sale_pricelist" domain="[('type','=','sale')]"/>
264                                 <field name="picking_id" readonly="1"/>
265                             </group>
266                             <group string="Accounting Information">
267                                 <field name="sale_journal" domain="[('type','=','sale')]"/>
268                                 <field name="invoice_id" readonly="1"
269                                     attrs="{'invisible':[('state','&lt;&gt;','invoiced')]}"/>
270                                 <button name="%(pos_invoice_report)d" string="Re-Print"
271                                     icon="gtk-print" type="action" attrs="{'invisible':[('state','&lt;&gt;','invoiced')]}"/>
272                                 <field name="account_move" readonly="1"
273                                     attrs="{'invisible':[('state','&lt;&gt;','done')]}"/>
274                             </group>
275                         </page>
276                         <page string="Notes" >
277                             <field name="note"/>
278                         </page>
279                     </notebook>
280                 </sheet>
281                 </form>
282             </field>
283         </record>
284         <record model="ir.actions.act_window" id="action_pos_pos_form">
285             <field name="name">Orders</field>
286             <field name="type">ir.actions.act_window</field>
287             <field name="res_model">pos.order</field>
288             <field name="view_type">form</field>
289             <field name="view_mode">tree,form</field>
290             <field name="view_id" eval="False"/>
291             <field name="domain">[]</field>
292             <field name="help" type="html">
293               <p class="oe_view_nocontent_create">
294                 Click to create a new order.
295               </p><p>
296                 Use this menu to browse your preceeding orders. To record new
297                 orders, you should better use the menu <i>Your Session</i> for
298                 the touchscreen interface.
299               </p>
300             </field>
301         </record>
302         <record model="ir.ui.view" id="view_pos_order_tree">
303             <field name="name">Sales</field>
304             <field name="model">pos.order</field>
305             <field name="type">tree</field>
306             <field name="arch" type="xml">
307                 <tree string="POS Orders" colors="blue:state == 'draft';gray:state in ('done','cancel');black:state not in('done','cancel')">
308                     <field name="name"/>
309                     <field name="partner_id"/>
310                     <field name="date_order"/>
311                     <field name="user_id"/>
312                     <field name="invoice_id"/>
313                     <field name="amount_total" sum="Amount total"/>
314                     <field name="company_id" groups="base.group_multi_company"/>
315                     <field name="state"/>
316                 </tree>
317             </field>
318         </record>
319         <record id="view_pos_order_filter" model="ir.ui.view">
320             <field name="name">pos.order.list.select</field>
321             <field name="model">pos.order</field>
322             <field name="type">search</field>
323             <field name="arch" type="xml">
324                 <search string="Search Sales Order">
325                     <field name="name" string="Sales Order"/>
326                     <field name="date_order"/>
327                     <filter icon="terp-document-new" string="New" domain="[('state','=','draft')]"/>
328                     <filter icon="gtk-apply" string="Done" domain="[('state','in',('paid','invoiced','done'))]"/>
329                     <filter icon="terp-check" string="Invoiced" domain="[('state','=','invoiced')]"/>
330                     <filter icon="gtk-convert" string="Posted" domain="[('state','=','done')]"/>
331                     <field name="user_id"/>
332                     <group expand="0" string="Group By...">
333                         <filter string="Customer" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
334                         <filter string="Salesperson" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
335                         <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
336                         <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_order'}"/>
337                     </group>
338                 </search>
339             </field>
340         </record>
341
342         <menuitem name="Daily Operations" id="menu_point_of_sale" parent="menu_point_root" sequence="10" />
343         <menuitem parent="menu_point_of_sale" id="menu_point_ofsale" action="action_pos_pos_form" sequence="2" groups="group_pos_manager,group_pos_user"/>
344         <menuitem name="Products" id="menu_point_of_sale_product" parent="menu_point_root" sequence="15" />
345
346         <record id="product_normal_action" model="ir.actions.act_window">
347             <field name="name">Products</field>
348             <field name="type">ir.actions.act_window</field>
349             <field name="res_model">product.product</field>
350             <field name="view_type">form</field>
351             <field name="view_mode">tree,form,kanban</field>
352             <field name="context" eval="{'default_pos_categ_id': ref('point_of_sale.categ_others')}"/>
353             <field name="domain" eval="[('pos_categ_id','&lt;&gt;',False)]"/>
354             <field name="view_id" ref="product.product_product_tree_view"/>
355             <field name="search_view_id" ref="product.product_search_form_view"/>
356             <field name="help" type="html">
357               <p class="oe_view_nocontent_create">
358                 Click to add a new product.
359               </p><p>
360                 You must define a product for everything you sell through
361                 the point of sale interface.
362               </p><p>
363                 Do not forget to set the price and the point of sale category
364                 in which it should appear. If a product has no point of sale
365                 category, you can not sell it through the point of sale
366                 interface.
367               </p>
368             </field>
369         </record>
370         <menuitem
371             action="product_normal_action"
372             id="menu_pos_products"
373             parent="menu_point_of_sale_product" sequence="2"/>
374
375         <record model="ir.ui.view" id="view_pos_order_line">
376             <field name="name">Sale lines</field>
377             <field name="model">pos.order.line</field>
378             <field name="type">tree</field>
379             <field name="arch" type="xml">
380                 <tree string="POS Order lines">
381                     <field name="product_id" readonly="1"/>
382                     <field name="qty" readonly="1" sum="Total qty"/>
383                     <field name="discount" readonly="1"/>
384                     <field name="price_unit" readonly="1"/>
385                     <field name="price_subtotal" readonly="1" sum="Sum of subtotals"/>
386                     <field name="price_subtotal_incl" readonly="1" sum="Sum of subtotals"/>
387                     <field name="create_date" readonly="1"/>
388                 </tree>
389             </field>
390         </record>
391
392         <record model="ir.ui.view" id="view_pos_order_line_form">
393             <field name="name">Sale line</field>
394             <field name="model">pos.order.line</field>
395             <field name="type">form</field>
396             <field name="arch" type="xml">
397                 <form string="POS Order line" version="7.0">
398                     <group col="4">
399                         <field name="product_id" />
400                         <field name="qty" />
401                         <field name="discount" />
402                         <field name="price_unit" />
403                         <field name="create_date" />
404                     </group>
405                 </form>
406             </field>
407         </record>
408
409         <record model="ir.actions.act_window" id="action_pos_order_line">
410             <field name="name">Sale line</field>
411             <field name="type">ir.actions.act_window</field>
412             <field name="res_model">pos.order.line</field>
413             <field name="view_type">form</field>
414             <field name="view_mode">tree</field>
415             <field name="view_id" ref="view_pos_order_line"/>
416         </record>
417
418         <record model="ir.actions.act_window" id="action_pos_order_line_form">
419             <field name="name">Sale line</field>
420             <field name="type">ir.actions.act_window</field>
421             <field name="res_model">pos.order.line</field>
422             <field name="view_type">form</field>
423             <field name="view_mode">form,tree</field>
424             <field name="view_id" ref="view_pos_order_line_form"/>
425         </record>
426
427         <record model="ir.actions.act_window" id="action_pos_order_line_day">
428             <field name="name">Sale line</field>
429             <field name="type">ir.actions.act_window</field>
430             <field name="res_model">pos.order.line</field>
431             <field name="view_type">form</field>
432             <field name="view_mode">tree</field>
433             <field name="view_id" ref="view_pos_order_line"/>
434             <field name="domain">[('create_date', '&gt;=', time.strftime('%Y-%m-%d 00:00:00')),('create_date', '&lt;=', time.strftime('%Y-%m-%d 23:59:59'))]</field>
435         </record>
436
437
438
439         <!-- report -->
440
441         <record model="ir.ui.view" id="view_pos_trans_user_form">
442             <field name="name">report.trans.pos.user.form</field>
443             <field name="model">report.transaction.pos</field>
444             <field name="type">form</field>
445             <field name="arch" type="xml">
446                 <form string="POS " version="7.0">
447                     <group col="4">
448                         <field name="user_id"/>
449                         <field name="journal_id"/>
450                         <field name="jl_id"/>
451                         <field name="date_create" widget="date"/>
452                         <field name="no_trans"/>
453                         <field name="amount"/>
454                         <field name="invoice_id"/>
455                     </group>
456                 </form>
457             </field>
458         </record>
459
460
461         <record model="ir.ui.view" id="view_trans_pos_user_tree">
462             <field name="name">Sales by user</field>
463             <field name="model">report.transaction.pos</field>
464             <field name="type">tree</field>
465             <field name="arch" type="xml">
466                 <tree string="POS">
467                     <field name="date_create" widget="date" />
468                     <field name="user_id"/>
469                     <field name="journal_id"/>
470                     <field name="jl_id"/>
471                     <field name="no_trans" sum="Total Transaction"/>
472                     <field name="amount" sum="Amount total"/>
473                     <field name="product_nb" />
474                     <field name="invoice_id"/>
475                     <field name="disc"/>
476                 </tree>
477             </field>
478         </record>
479
480         <record model="ir.ui.view" id="view_report_transaction_pos_calendar">
481             <field name="name">report.transaction.pos.calendar</field>
482             <field name="model">report.transaction.pos</field>
483             <field name="type">calendar</field>
484             <field eval="2" name="priority"/>
485             <field name="arch" type="xml">
486                 <calendar color="user_id" date_start="date_create" string="POS Report">
487                     <field name="journal_id"/>
488                     <field name="amount"/>
489                 </calendar>
490             </field>
491          </record>
492
493          <record model="ir.ui.view" id="view_report_transaction_pos_graph">
494             <field name="name">report.transaction.pos.graph</field>
495             <field name="model">report.transaction.pos</field>
496             <field name="type">graph</field>
497             <field eval="2" name="priority"/>
498             <field name="arch" type="xml">
499                 <graph  type="bar" string="POS Report">
500                     <field name="user_id" />
501                     <field name="amount"/>
502                     <field group="True" name="journal_id"/>
503                 </graph>
504             </field>
505          </record>
506
507         <record model="ir.actions.act_window" id="action_trans_pos_tree_today">
508             <field name="name">Sales by day</field>
509             <field name="res_model">report.transaction.pos</field>
510             <field name="view_type">form</field>
511             <field name="view_mode">tree,calendar,form,graph</field>
512             <field name="domain">[('date_create','=',time.strftime('%Y-%m-%d'))]</field>
513         </record>
514
515
516         <record model="ir.actions.act_window" id="action_trans_pos_tree_month">
517             <field name="name">Sales by month</field>
518             <field name="res_model">report.transaction.pos</field>
519             <field name="view_type">form</field>
520             <field name="view_mode">tree,calendar,form,graph</field>
521             <field name="domain">[('date_create','like',time.strftime('%Y-%m'))]</field>
522         </record>
523
524
525         <record model="ir.actions.act_window" id="action_trans_pos_tree">
526             <field name="name">Sales by user</field>
527             <field name="res_model">report.transaction.pos</field>
528             <field name="view_type">form</field>
529             <field name="view_mode">tree,calendar,form,graph</field>
530             <field name="view_id" ref="view_trans_pos_user_tree"/>
531         </record>
532
533
534         <record model="ir.ui.view" id="view_report_sales_by_user_pos_form">
535             <field name="name">report.sales.by.user.pos.form</field>
536             <field name="model">report.sales.by.user.pos</field>
537             <field name="type">form</field>
538             <field name="arch" type="xml">
539                 <form string="POS " version="7.0">
540                     <group col="4">
541                         <field name="date_order" widget="date"/>
542                         <field name="qty"/>
543                         <field name="amount"/>
544                         <field name="user_id"/>
545                     </group>
546                 </form>
547             </field>
548         </record>
549
550
551         <record model="ir.ui.view" id="view_report_sales_by_user_pos_tree">
552             <field name="name">report.sales.by.user.pos.tree</field>
553             <field name="model">report.sales.by.user.pos</field>
554             <field name="type">tree</field>
555             <field name="arch" type="xml">
556                 <tree string="POS">
557                     <field name="date_order" widget="date"/>
558                     <field name="qty"/>
559                     <field name="amount"/>
560                     <field name="user_id"/>
561                 </tree>
562             </field>
563         </record>
564
565         <record model="ir.ui.view" id="view_report_sales_by_user_pos_calendar">
566             <field name="name">report.sales.by.user.pos.calendar</field>
567             <field name="model">report.sales.by.user.pos</field>
568             <field name="type">calendar</field>
569             <field eval="2" name="priority"/>
570             <field name="arch" type="xml">
571                 <calendar color="user_id" date_start="date_order" string="POS Report">
572                     <field name="qty"/>
573                     <field name="amount" />
574                 </calendar>
575             </field>
576          </record>
577
578         <record model="ir.ui.view" id="view_report_sales_by_user_pos_graph">
579             <field name="name">report.sales.by.user.pos.graph</field>
580             <field name="model">report.sales.by.user.pos</field>
581             <field name="type">graph</field>
582             <field eval="2" name="priority"/>
583             <field name="arch" type="xml">
584                 <graph  type="bar" string="Sales by User">
585                     <field name="user_id" />
586                     <field name="amount"/>
587                 </graph>
588             </field>
589          </record>
590
591          <record model="ir.actions.act_window" id="action_report_sales_by_user_pos_today">
592             <field name="name">Sales by User</field>
593             <field name="res_model">report.sales.by.user.pos</field>
594             <field name="view_type">form</field>
595             <field name="view_mode">tree,calendar,form,graph</field>
596             <field name="domain">[('date_order','=',time.strftime('%Y-%m-%d'))]</field>
597          </record>
598
599
600         <!-- Sales of user by month -->
601
602         <record model="ir.ui.view" id="view_report_sales_by_user_pos_month_form">
603             <field name="name">report.sales.by.user.pos.month.form</field>
604             <field name="model">report.sales.by.user.pos.month</field>
605             <field name="type">form</field>
606             <field name="arch" type="xml">
607                 <form string="POS " version="7.0">
608                     <group col="4">
609                         <field name="date_order" widget="date"/>
610                         <field name="qty"/>
611                         <field name="amount"/>
612                         <field name="user_id"/>
613                     </group>
614                 </form>
615             </field>
616         </record>
617
618
619         <record model="ir.ui.view" id="view_report_sales_by_user_pos_month_tree">
620             <field name="name">report.sales.by.user.pos.month.tree</field>
621             <field name="model">report.sales.by.user.pos.month</field>
622             <field name="type">tree</field>
623             <field name="arch" type="xml">
624                 <tree string="POS">
625                     <field name="date_order" widget="date"/>
626                     <field name="qty"/>
627                     <field name="amount"/>
628                     <field name="user_id"/>
629                 </tree>
630             </field>
631         </record>
632
633         <record model="ir.ui.view" id="view_report_sales_by_user_pos_month_calendar">
634             <field name="name">report.sales.by.user.pos.month.calendar</field>
635             <field name="model">report.sales.by.user.pos.month</field>
636             <field name="type">calendar</field>
637             <field eval="2" name="priority"/>
638             <field name="arch" type="xml">
639                 <calendar color="user_id" date_start="date_order" string="POS Report">
640                     <field name="qty"/>
641                     <field name="amount" />
642                 </calendar>
643             </field>
644          </record>
645
646         <record model="ir.ui.view" id="view_report_sales_by_user_pos_month_graph">
647             <field name="name">report.sales.by.user.pos.month.graph</field>
648             <field name="model">report.sales.by.user.pos.month</field>
649             <field name="type">graph</field>
650             <field eval="2" name="priority"/>
651             <field name="arch" type="xml">
652                 <graph  type="bar" string="Sales by User">
653                     <field name="user_id" />
654                     <field name="amount"/>
655                 </graph>
656             </field>
657          </record>
658
659
660          <record model="ir.actions.act_window" id="action_report_sales_by_user_pos_month">
661             <field name="name">Sales by User Monthly</field>
662             <field name="res_model">report.sales.by.user.pos.month</field>
663             <field name="view_type">form</field>
664             <field name="view_mode">tree,calendar,form,graph</field>
665             <field name="domain">[('date_order','like',time.strftime('%Y-%m'))]</field>
666         </record>
667
668         <!-- Sales by margin -->
669
670         <record model="ir.ui.view" id="view_report_sales_by_margin_pos_form">
671             <field name="name">report.sales.by.margin.pos.form</field>
672             <field name="model">report.sales.by.margin.pos</field>
673             <field name="type">form</field>
674             <field name="arch" type="xml">
675                 <form string="POS " version="7.0">
676                     <group col="4">
677                         <field name="user_id"/>
678                         <field name="product_name"/>
679                         <field name="date_order" widget="date"/>
680                         <field name="qty"/>
681                         <field name="net_margin_per_qty"/>
682                         <field name="total"/>
683                     </group>
684                 </form>
685             </field>
686         </record>
687
688
689         <record model="ir.ui.view" id="view_report_sales_by_margin_pos_tree">
690             <field name="name">report.sales.by.margin.pos.tree</field>
691             <field name="model">report.sales.by.margin.pos</field>
692             <field name="type">tree</field>
693             <field name="arch" type="xml">
694                 <tree string="POS">
695                     <field name="user_id"/>
696                     <field name="product_name"/>
697                     <field name="date_order" widget="date"/>
698                     <field name="qty"/>
699                     <field name="net_margin_per_qty"/>
700                     <field name="total"/>
701                 </tree>
702             </field>
703         </record>
704
705         <record model="ir.ui.view" id="view_report_sales_by_margin_pos_calendar">
706             <field name="name">report.sales.by.margin.pos.calendar</field>
707             <field name="model">report.sales.by.margin.pos</field>
708             <field name="type">calendar</field>
709             <field eval="2" name="priority"/>
710             <field name="arch" type="xml">
711                 <calendar color="user_id" date_start="date_order" string="Sales by User Margin">
712                     <field name="product_name"/>
713                     <field name="total" />
714                 </calendar>
715             </field>
716          </record>
717
718         <record model="ir.ui.view" id="view_report_sales_by_margin_pos_graph">
719             <field name="name">report.sales.by.margin.pos.graph</field>
720             <field name="model">report.sales.by.margin.pos</field>
721             <field name="type">graph</field>
722             <field eval="2" name="priority"/>
723             <field name="arch" type="xml">
724                 <graph  type="bar" string="Sales by User Margin" orientation="horizontal">
725                     <field name="product_name" />
726                     <field name="total" operator="+"/>
727                 </graph>
728             </field>
729          </record>
730
731         <record model="ir.actions.act_window" id="action_report_sales_by_margin_pos_today">
732             <field name="name">Sales by User Daily margin</field>
733             <field name="res_model">report.sales.by.margin.pos</field>
734             <field name="view_type">form</field>
735             <field name="view_mode">tree,calendar,form,graph</field>
736             <field name="domain">[('date_order','=',time.strftime('%Y-%m-%d'))]</field>
737          </record>
738
739          <record model="ir.ui.view" id="view_report_sales_by_margin_pos_month_form">
740             <field name="name">report.sales.by.margin.pos.month.form</field>
741             <field name="model">report.sales.by.margin.pos.month</field>
742             <field name="type">form</field>
743             <field name="arch" type="xml">
744                 <form string="POS " version="7.0">
745                     <group col="4">
746                         <field name="user_id"/>
747                         <field name="product_name"/>
748                         <field name="date_order" widget="date"/>
749                         <field name="qty"/>
750                         <field name="net_margin_per_qty"/>
751                         <field name="total"/>
752                     </group>
753                 </form>
754             </field>
755         </record>
756
757
758         <record model="ir.ui.view" id="view_report_sales_by_margin_pos_month_tree">
759             <field name="name">report.sales.by.margin.pos.month.tree</field>
760             <field name="model">report.sales.by.margin.pos.month</field>
761             <field name="type">tree</field>
762             <field name="arch" type="xml">
763                 <tree string="POS">
764                     <field name="user_id"/>
765                     <field name="product_name"/>
766                     <field name="date_order" widget="date"/>
767                     <field name="qty"/>
768                     <field name="net_margin_per_qty"/>
769                     <field name="total"/>
770                 </tree>
771             </field>
772         </record>
773
774         <record model="ir.ui.view" id="view_report_sales_by_margin_pos_month_calendar">
775             <field name="name">report.sales.by.margin.pos.month.calendar</field>
776             <field name="model">report.sales.by.margin.pos.month</field>
777             <field name="type">calendar</field>
778             <field eval="2" name="priority"/>
779             <field name="arch" type="xml">
780                 <calendar color="user_id" date_start="date_order" string="Sales by User Margin">
781                     <field name="product_name"/>
782                     <field name="total" />
783                 </calendar>
784             </field>
785          </record>
786
787         <record model="ir.ui.view" id="view_report_sales_by_margin_pos_month_graph">
788             <field name="name">report.sales.by.margin.pos.month.graph</field>
789             <field name="model">report.sales.by.margin.pos.month</field>
790             <field name="type">graph</field>
791             <field eval="2" name="priority"/>
792             <field name="arch" type="xml">
793                 <graph  type="bar" string="Sales by User Margin" orientation="horizontal">
794                     <field name="product_name" />
795                     <field name="total" operator="+"/>
796                 </graph>
797             </field>
798          </record>
799
800          <record model="ir.actions.act_window" id="action_report_sales_by_margin_pos_month">
801             <field name="name">Sales by User Monthly margin</field>
802             <field name="res_model">report.sales.by.margin.pos.month</field>
803             <field name="view_type">form</field>
804             <field name="view_mode">tree,calendar,form,graph</field>
805             <field name="domain">[('date_order','like',time.strftime('%Y-%m'))]</field>
806         </record>
807
808         <record id="product_normal_form_pos_view" model="ir.ui.view">
809             <field name="name">product.normal.pos.form.inherit</field>
810             <field name="model">product.product</field>
811             <field name="type">form</field>
812             <field name="inherit_id" ref="product.product_normal_form_view"/>
813             <field name="arch" type="xml">
814                   <group name="status" position="after">
815                       <group name="pos" string="Point of Sale">
816                           <field name="pos_categ_id"/>
817                           <field name="to_weight" />
818                       </group>
819                   </group>
820             </field>
821         </record>
822
823
824         <record id="product_normal_form_view" model="ir.ui.view">
825             <field name="name">product.normal.form.inherit</field>
826             <field name="model">product.product</field>
827             <field name="type">form</field>
828             <field name="inherit_id" ref="product.product_normal_form_view"/>
829             <field name="arch" type="xml">
830                 <group name="misc" position="after">
831                     <group name="pos" colspan="2" col="2">
832                         <separator string="Point of Sale" colspan="2"/>
833                         <field name="income_pdt"/>
834                         <field name="expense_pdt"/>
835                     </group>
836                 </group>
837             </field>
838         </record>
839
840         <!-- Categories tree view -->
841         <record id="pos_category_form_view" model="ir.ui.view">
842             <field name="name">pos.category.form</field>
843             <field name="model">pos.category</field>
844             <field name="type">form</field>
845             <field name="arch" type="xml">
846                 <form string="Product PoS Categories" version="7.0">
847                     <sheet>
848                         <field name="image_medium" widget='image' class="oe_avatar oe_right"/>
849                         <div class="oe_left">
850                             <group>
851                                 <field name="name"/>
852                                 <field name="parent_id"/>
853                                 <field name="sequence"/>
854                             </group>
855                         </div>
856                     </sheet>
857                 </form>
858             </field>
859         </record>
860         <record id="pos_category_tree_view" model="ir.ui.view">
861             <field name="name">pos.category.tree</field>
862             <field name="model">pos.category</field>
863             <field name="type">tree</field>
864             <field name="field_parent" eval="False"/>
865             <field name="arch" type="xml">
866                 <tree string="Product PoS Categories">
867                     <field name="sequence" invisible="1"/>
868                     <field name="complete_name"/>
869                 </tree>
870             </field>
871         </record>
872         <record id="pos_category_action" model="ir.actions.act_window">
873             <field name="name">Product Categories</field>
874             <field name="type">ir.actions.act_window</field>
875             <field name="res_model">pos.category</field>
876             <field name="view_type">form</field>
877             <field name="view_mode">tree,form</field>
878             <field name="view_id" eval="False"/>
879             <field name="help" type="html">
880               <p class="oe_view_nocontent_create">
881                 Click to define a new category.
882               </p><p>
883                 Categories are used to browse your products through the
884                 touchscreen interface.
885               </p><p>
886                 If you put a photo on the category, the layout of the
887                 touchscreen interface will automatically. We suggest not to put
888                 a photo on categories for small (1024x768) screens.
889               </p>
890             </field>
891         </record>
892         <menuitem action="pos_category_action" id="menu_pos_category" parent="menu_point_of_sale_product" sequence="0" />
893         <!-- END -->
894
895         <menuitem name="Configuration" parent="menu_point_root"
896             id="menu_point_config_product" sequence="25" groups="group_pos_manager"/>
897
898         <record id="action_account_journal_form" model="ir.actions.act_window">
899             <field name="name">Payment Methods</field>
900             <field name="res_model">account.journal</field>
901             <field name="view_type">form</field>
902             <field name="view_mode">tree,form</field>
903             <field name="context" eval="{'default_journal_user': 1, 'default_type': 'cash'}"/>
904             <field name="domain">[('journal_user','=', 1)]</field>
905             <field name="help" type="html">
906               <p class="oe_view_nocontent_create">
907                 Click to add a payment method.
908               </p><p>
909                 Payment methods are defined by accounting journals having the
910                 field <i>PoS Payment Method</i> checked. In order to be useable
911                 from the touchscreen interface, you must set the payment method
912                 on the <i>Point of Sale</i> configuration.
913               </p>
914             </field>
915         </record>
916
917         <menuitem action="action_account_journal_form"
918             id="menu_action_account_journal_form_open"
919             parent="menu_point_config_product"
920             sequence="20"/>
921
922         <record model="ir.ui.view" id="view_pos_order_tree_all_sales_lines">
923             <field name="name">POS Sales Lines</field>
924             <field name="model">pos.order.line</field>
925             <field name="type">tree</field>
926             <field name="arch" type="xml">
927                 <tree string="POS Orders lines">
928                     <field name="order_id" />
929                     <field name="create_date" />
930                     <field name="product_id" />
931                     <field name="qty" />
932                     <field name="price_unit" />
933                 </tree>
934             </field>
935         </record>
936          <record model="ir.actions.act_window" id="action_pos_all_sales_lines">
937             <field name="name">All sales lines</field>
938             <field name="type">ir.actions.act_window</field>
939             <field name="res_model">pos.order.line</field>
940             <field name="view_type">form</field>
941             <field name="view_id" ref="view_pos_order_tree_all_sales_lines" />
942         </record>
943
944         <!--  Miscellaneous Operations/Reporting -->
945         <menuitem name="Point of Sale" parent="base.menu_reporting" id="menu_point_rep" sequence="50" groups="group_pos_manager"/>
946         <!-- Invoice -->
947
948         <record model="ir.actions.act_window" id="action_pos_invoice">
949             <field name="name">Invoices</field>
950             <field name="type">ir.actions.act_window</field>
951             <field name="res_model">account.invoice</field>
952             <field name="view_type">form</field>
953             <field name="view_mode">tree,form</field>
954             <field name="domain">[('origin','like','POS')]</field>
955         </record>
956
957         <menuitem icon="STOCK_PRINT" action="action_report_pos_details"
958                 id="menu_pos_details" parent="menu_point_rep" sequence="6" />
959
960         <record model="ir.actions.client" id="action_pos_pos">
961             <field name="name">Start Point of Sale</field>
962             <field name="tag">pos.ui</field>
963         </record>
964
965         <!-- Top menu item -->
966         <record model="ir.ui.view" id="view_pos_config_form">
967             <field name="name">pos.config.form.view</field>
968             <field name="model">pos.config</field>
969             <field name="type">form</field>
970             <field name="arch" type="xml">
971                 <form string="Point of Sale Configuration" version="7.0">
972                     <header>
973                         <button string="Set to Active" name="set_active" type="object" states="inactive,deprecated"/>
974                         <button string="Set to Inactive" name="set_inactive" type="object" states="active" />
975                         <button string="Set to Deprecated" name="set_deprecate" type="object" states="active,inactive" />
976                         <div class="oe_right">
977                             <field name="state" widget="statusbar" statusbar_visible="active,inactive,deprecated" statusbar_colors='{"deprecated" : "red"}' nolabel="1"/>
978                         </div>
979                     </header>
980
981                     <sheet>
982                         <group>
983                         <field name="name"/>
984                         <field name="shop_id" widget="selection" />
985                         <field name="journal_id" widget="selection" />
986                         <field name="sequence_id" readonly="1"/>
987                         <field name="group_by" />
988                         </group>
989                         <separator string="Available Payment Methods" colspan="4"/>
990                         <field name="journal_ids" colspan="4" nolabel="1">
991                             <tree string="Journals">
992                                 <field name="code" />
993                                 <field name="name" />
994                                 <field name="type" />
995                                 <field name="opening_control" />
996                                 <field name="closing_control" />
997                             </tree>
998                         </field>
999                         <group string="Material Interfaces" >
1000                             <group>
1001                                 <field name="iface_self_checkout" />
1002                                 <field name="iface_websql" />
1003                                 <field name="iface_led" />
1004                                 <field name="iface_cashdrawer" />
1005                                 <field name="iface_payment_terminal" />
1006                             </group>
1007                             <group>
1008                                 <field name="iface_electronic_scale" />
1009                                 <field name="iface_barscan" />
1010                                 <field name="iface_vkeyboard" />
1011                                 <field name="iface_print_via_proxy" />
1012                             </group>
1013                         </group>
1014                     </sheet>
1015
1016                 </form>
1017             </field>
1018         </record>
1019
1020         <record model="ir.ui.view" id="view_pos_config_tree">
1021             <field name="name">pos.config.tree.view</field>
1022             <field name="model">pos.config</field>
1023             <field name="type">tree</field>
1024             <field name="arch" type="xml">
1025                 <tree string="Point of Sale Configuration" colors="grey:state == 'inactive'">
1026                     <field name="name" />
1027                     <field name="shop_id" />
1028                     <field name="state" />
1029                 </tree>
1030             </field>
1031         </record>
1032
1033         <record model="ir.ui.view" id="view_pos_config_search">
1034             <field name="name">pos.config.search.view</field>
1035             <field name="model">pos.config</field>
1036             <field name="type">search</field>
1037             <field name="arch" type="xml">
1038                 <search string="Point of Sale Config">
1039                     <field name="name" />
1040                     <filter string="Active" domain="[('state', '=', 'active')]" />
1041                     <filter string="Inactive" domain="[('state', '=', 'inactive')]" />
1042                     <field name="shop_id" />
1043                 </search>
1044             </field>
1045         </record>
1046
1047
1048         <act_window
1049             id="act_pos_config_sessions"
1050             name="Sessions"
1051             src_model="pos.config"
1052             res_model="pos.session"
1053             domain="[('config_id', '=', active_id)]" />
1054
1055         <record model="ir.actions.act_window" id="action_pos_config_pos">
1056             <field name="name">Point of Sales</field>
1057             <field name="type">ir.actions.act_window</field>
1058             <field name="res_model">pos.config</field>
1059             <field name="view_type">form</field>
1060             <field name="view_mode">tree,form</field>
1061             <field name="search_view_id" ref="view_pos_config_search" />
1062         </record>
1063
1064         <menuitem
1065             parent="menu_point_config_product"
1066             action="action_pos_config_pos"
1067             id="menu_pos_config_pos"
1068             groups="group_pos_manager"/>
1069
1070         <act_window
1071             id="act_pos_session_orders"
1072             name="Orders"
1073             src_model="pos.session"
1074             res_model="pos.order"
1075             context="{'search_default_session_id': active_id, 'default_session_id' : active_id }" />
1076
1077
1078
1079         <record model="ir.ui.view" id="view_pos_session_form">
1080             <field name="name">pos.session.form.view</field>
1081             <field name="model">pos.session</field>
1082             <field name="type">form</field>
1083             <field name="arch" type="xml">
1084                 <form string="Point of Sale Session" version="7.0">
1085                     <header>
1086                         <button name="open" type="workflow" string="Validate &amp; Open Session" states="opening_control" class="oe_highlight"/>
1087                         <button name="cashbox_control" type="workflow" string="End of Session" states="opened"
1088                             class="oe_highlight"/>
1089                         <button name="close" type="workflow" string="Validate Closing &amp; Post Entries" states="closing_control"
1090                             class="oe_highlight"/>
1091                         <button name="open_frontend_cb" type="object" string="Start Selling" states="opened"/>
1092                         <div class="oe_right">
1093                             <field name="state" widget="statusbar" statusbar_visible="opening_control,opened,closing_control,closed" nolabel="1"/>
1094                         </div>
1095                     </header>
1096                     <sheet>
1097                         <div class="oe_right oe_button_box">
1098                             <button name="%(action_pos_box_in)d" string="Put Money In" type="action" states="opened,closing_control"/>
1099                             <button name="%(action_pos_box_out)d" string="Take Money Out" type="action" states="opened,closing_control"/>
1100                         </div>
1101                         <h1 class="oe_title">
1102                             Point of Sale Session: 
1103                             <field name="name" attrs="{'invisible': [('name','=','/')]}" class="oe_inline"/>
1104                         </h1>
1105                         <field name="config_id" invisible="1"/>
1106                         <field name="has_opening_control" invisible="1" />
1107                         <field name="has_closing_control" invisible="1" />
1108                         <group>
1109                             <group>
1110                                 <field name="user_id"/>
1111                             </group>
1112                             <group>
1113                                 <field name="start_at" attrs="{'invisible' : [('state', '=', 'opening_control')]}"/>
1114                                 <field name="stop_at" attrs="{'invisible' : [('state', '&lt;&gt;', 'closed')]}"/>
1115                             </group>
1116                             <newline/>
1117
1118                             <group string="Opening Cash Control">
1119                                 <field name="opening_details_ids" nolabel="1" colspan="2" attrs="{'readonly' : [('state', 'not in', ('opening_control',))]}">
1120                                     <tree string="Opening Cashbox Lines" editable="bottom">
1121                                         <field name="pieces" readonly="1" />
1122                                         <field name="number_opening" string="Opening Unit Numbers" on_change="on_change_sub_opening(pieces, number_opening)" />
1123                                         <field name="subtotal_opening" string="Opening Subtotal" sum="Total"/>
1124                                     </tree>
1125                                 </field>
1126                             </group>
1127                             <group string="Closing Cash Control" attrs="{'invisible': [('state', '=', 'opening_control')]}">
1128                                 <field name="details_ids" nolabel="1" colspan="2">
1129                                     <tree string="Cashbox Lines" editable="bottom">
1130                                         <field name="pieces" readonly="1" />
1131                                         <field name="number_closing"/>
1132                                         <field name="subtotal_closing"/>
1133                                     </tree>
1134                                 </field>
1135                             </group>
1136
1137                             <div>
1138                                 <group class="oe_subtotal_footer oe_right">
1139                                     <field name="cash_register_balance_start" readonly="1" string="Opening Balance" class="oe_subtotal_footer_separator"/>
1140                                     <field name="cash_register_total_entry_encoding"  attrs="{'invisible' : [('state', '=', 'opening_control')]}" string="+ Transactions"/>
1141                                     <field name="cash_register_balance_end" attrs="{'invisible' : [('state', '=', 'opening_control')]}" string="= Theorical Balance"/>
1142                                 </group>
1143                                 <div attrs="{'invisible' : [('state', '&lt;&gt;', 'opening_control')]}" class="oe_view_nocontent" groups="point_of_sale.group_pos_manager">
1144                                     <p class="oe_view_nocontent_create">
1145                                     You can define another list of available currencies on the
1146                                     <i>Cash Registers</i> tab of the <b><field name="cash_register_id" class="oe_inline"/></b>
1147                                     payment method.
1148                                     </p>
1149                                 </div>
1150                             </div>
1151
1152
1153                             <group class="oe_subtotal_footer oe_right" attrs="{'invisible' : [('state', '=', 'opening_control')]}">
1154                                 <field name="cash_register_balance_end_real" class="oe_subtotal_footer_separator"/>
1155                                 <field name="cash_register_difference"  class="oe_subtotal_footer_separator"/>
1156                             </group>
1157                         </group>
1158
1159                         <separator string="Summary by Payment Methods" attrs="{'invisible' : [('state', '=', 'opening_control')]}"/>
1160                         <field name="statement_ids" attrs="{'invisible' : [('state', '=', 'opening_control')]}">
1161                             <tree string="Statements">
1162                                 <field name="name" />
1163                                 <field name="journal_id" />
1164                                 <field name="balance_start" />
1165                                 <field name="total_entry_encoding" />
1166                                 <field name="balance_end_real" />
1167                                 <field name="difference" />
1168                                 <field name="currency" />
1169                                 <field name="state" />
1170                             </tree>
1171                         </field>
1172
1173                     </sheet>
1174                 </form>
1175             </field>
1176         </record>
1177
1178         <record model="ir.ui.view" id="view_pos_session_tree">
1179             <field name="name">pos.session.tree.view</field>
1180             <field name="model">pos.session</field>
1181             <field name="type">tree</field>
1182             <field name="arch" type="xml">
1183                 <tree string="Point of Sale Session">
1184                     <field name="config_id" />
1185                     <field name="name" />
1186                     <field name="user_id" />
1187                     <field name="start_at" />
1188                     <field name="stop_at" />
1189                     <field name="state" />
1190                 </tree>
1191             </field>
1192         </record>
1193
1194         <record model="ir.ui.view" id="view_pos_session_search">
1195             <field name="name">pos.session.search.view</field>
1196             <field name="model">pos.session</field>
1197             <field name="type">search</field>
1198             <field name="arch" type="xml">
1199                 <search string="Point of Sale Session">
1200                     <field name="name" />
1201                     <filter string="Open" domain="[('state', '=', 'opened')]" />
1202                     <separator/>
1203                     <filter string="Today" domain="[('start_at', '>=', time.strftime('%%Y-%%m-%%d 00:00:00'))]" />
1204                     <field name="config_id" />
1205                     <field name="user_id" />
1206                     <group expand="0" string="Group By...">
1207                         <filter string="User" icon="terp-personal" domain="[]" context="{'group_by' : 'user_id'}" />
1208                         <filter string="Point of Sales" domain="[]" context="{'group_by': 'user_id'}" />
1209                     </group>
1210                 </search>
1211             </field>
1212         </record>
1213
1214
1215         <record model="ir.actions.act_window" id="action_pos_session">
1216             <field name="name">All Sessions</field>
1217             <field name="type">ir.actions.act_window</field>
1218             <field name="res_model">pos.session</field>
1219             <field name="view_type">form</field>
1220             <field name="view_mode">tree,form</field>
1221             <field name="search_view_id" ref="view_pos_session_search" />
1222         </record>
1223
1224         <menuitem
1225             parent="menu_point_of_sale"
1226             action="action_pos_session"
1227             id="menu_pos_session_all"
1228             sequence="1"
1229             groups="group_pos_manager"/>
1230
1231         <record id="view_pos_order_filter" model="ir.ui.view">
1232             <field name="name">pos.order.list.select</field>
1233             <field name="model">pos.order</field>
1234             <field name="type">search</field>
1235             <field name="arch" type="xml">
1236                 <search string="Search Sales Order">
1237                     <field name="name"/>
1238                     <field name="date_order"/>
1239                     <filter icon="terp-document-new" string="New" domain="[('state','=','draft')]"/>
1240                     <filter icon="gtk-apply" string="Done" domain="[('state','in',('paid','invoiced','done'))]"/>
1241                     <filter icon="terp-check" string="Invoiced" domain="[('state','=','invoiced')]"/>
1242                     <filter icon="gtk-convert" string="Posted" domain="[('state','=','done')]"/>
1243                     <field name="user_id"/>
1244                     <field name="session_id"/>
1245                     <group expand="0" string="Group By..." groups="base.group_extended">
1246                         <filter string="Customer" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
1247                         <filter string="Salesman" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
1248                         <filter string="Session" icon="terp-personal" domain="[]" context="{'group_by':'session_id'}"/>
1249                         <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1250                         <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_order'}"/>
1251                     </group>
1252                 </search>
1253             </field>
1254         </record>
1255
1256         <menuitem action="action_pos_session_opening"
1257             parent="menu_point_of_sale"
1258             id="menu_pos_session_opening" sequence="0"/>
1259
1260     </data>
1261 </openerp>