[MERGE WIP] merging from trunk. Still some issues with the thumbnails
[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="unreferenced_product" 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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6UnQPvAefWM7JNrUX6R2D12Za
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                 <group name="misc" position="after">
821                     <group name="pos" colspan="2" col="2">
822                         <separator string="Point of Sale" colspan="2"/>
823                         <field name="income_pdt"/>
824                         <field name="expense_pdt"/>
825                     </group>
826                 </group>
827                 <field name="ean13" position="after">
828                     <button name="edit_ean" type="object" string="Edit" />
829                 </field>
830             </field>
831         </record>
832
833         <!-- Categories tree view -->
834         <record id="pos_category_form_view" model="ir.ui.view">
835             <field name="name">pos.category.form</field>
836             <field name="model">pos.category</field>
837             <field name="type">form</field>
838             <field name="arch" type="xml">
839                 <form string="Product PoS Categories" version="7.0">
840                     <sheet>
841                         <field name="image_medium" widget='image' class="oe_avatar oe_right"/>
842                         <div class="oe_left">
843                             <group>
844                                 <field name="name"/>
845                                 <field name="parent_id"/>
846                                 <field name="sequence"/>
847                             </group>
848                         </div>
849                     </sheet>
850                 </form>
851             </field>
852         </record>
853         <record id="pos_category_tree_view" model="ir.ui.view">
854             <field name="name">pos.category.tree</field>
855             <field name="model">pos.category</field>
856             <field name="type">tree</field>
857             <field name="field_parent" eval="False"/>
858             <field name="arch" type="xml">
859                 <tree string="Product PoS Categories">
860                     <field name="sequence" invisible="1"/>
861                     <field name="complete_name"/>
862                 </tree>
863             </field>
864         </record>
865         <record id="pos_category_action" model="ir.actions.act_window">
866             <field name="name">Product Categories</field>
867             <field name="type">ir.actions.act_window</field>
868             <field name="res_model">pos.category</field>
869             <field name="view_type">form</field>
870             <field name="view_mode">tree,form</field>
871             <field name="view_id" eval="False"/>
872             <field name="help" type="html">
873               <p class="oe_view_nocontent_create">
874                 Click to define a new category.
875               </p><p>
876                 Categories are used to browse your products through the
877                 touchscreen interface.
878               </p><p>
879                 If you put a photo on the category, the layout of the
880                 touchscreen interface will automatically. We suggest not to put
881                 a photo on categories for small (1024x768) screens.
882               </p>
883             </field>
884         </record>
885         <menuitem action="pos_category_action" id="menu_pos_category" parent="menu_point_of_sale_product" sequence="0" />
886         <!-- END -->
887
888         <menuitem name="Configuration" parent="menu_point_root"
889             id="menu_point_config_product" sequence="25" groups="group_pos_manager"/>
890
891         <record id="action_account_journal_form" model="ir.actions.act_window">
892             <field name="name">Payment Methods</field>
893             <field name="res_model">account.journal</field>
894             <field name="view_type">form</field>
895             <field name="view_mode">tree,form</field>
896             <field name="context" eval="{'default_journal_user': 1, 'default_type': 'cash'}"/>
897             <field name="domain">[('journal_user','=', 1)]</field>
898             <field name="help" type="html">
899               <p class="oe_view_nocontent_create">
900                 Click to add a payment method.
901               </p><p>
902                 Payment methods are defined by accounting journals having the
903                 field <i>PoS Payment Method</i> checked. In order to be useable
904                 from the touchscreen interface, you must set the payment method
905                 on the <i>Point of Sale</i> configuration.
906               </p>
907             </field>
908         </record>
909
910         <menuitem action="action_account_journal_form"
911             id="menu_action_account_journal_form_open"
912             parent="menu_point_config_product"
913             sequence="20"/>
914
915         <record model="ir.ui.view" id="view_pos_order_tree_all_sales_lines">
916             <field name="name">POS Sales Lines</field>
917             <field name="model">pos.order.line</field>
918             <field name="type">tree</field>
919             <field name="arch" type="xml">
920                 <tree string="POS Orders lines">
921                     <field name="order_id" />
922                     <field name="create_date" />
923                     <field name="product_id" />
924                     <field name="qty" />
925                     <field name="price_unit" />
926                 </tree>
927             </field>
928         </record>
929          <record model="ir.actions.act_window" id="action_pos_all_sales_lines">
930             <field name="name">All sales lines</field>
931             <field name="type">ir.actions.act_window</field>
932             <field name="res_model">pos.order.line</field>
933             <field name="view_type">form</field>
934             <field name="view_id" ref="view_pos_order_tree_all_sales_lines" />
935         </record>
936
937         <!--  Miscellaneous Operations/Reporting -->
938         <menuitem name="Point of Sale" parent="base.menu_reporting" id="menu_point_rep" sequence="50" groups="group_pos_manager"/>
939         <!-- Invoice -->
940
941         <record model="ir.actions.act_window" id="action_pos_invoice">
942             <field name="name">Invoices</field>
943             <field name="type">ir.actions.act_window</field>
944             <field name="res_model">account.invoice</field>
945             <field name="view_type">form</field>
946             <field name="view_mode">tree,form</field>
947             <field name="domain">[('origin','like','POS')]</field>
948         </record>
949
950         <menuitem icon="STOCK_PRINT" action="action_report_pos_details"
951                 id="menu_pos_details" parent="menu_point_rep" sequence="6" />
952
953         <record model="ir.actions.client" id="action_pos_pos">
954             <field name="name">Start Point of Sale</field>
955             <field name="tag">pos.ui</field>
956         </record>
957
958         <!-- Top menu item -->
959         <record model="ir.ui.view" id="view_pos_config_form">
960             <field name="name">pos.config.form.view</field>
961             <field name="model">pos.config</field>
962             <field name="type">form</field>
963             <field name="arch" type="xml">
964                 <form string="Point of Sale Configuration" version="7.0">
965                     <header>
966                         <button string="Set to Active" name="set_active" type="object" states="inactive,deprecated"/>
967                         <button string="Set to Inactive" name="set_inactive" type="object" states="active" />
968                         <button string="Set to Deprecated" name="set_deprecate" type="object" states="active,inactive" />
969                         <div class="oe_right">
970                             <field name="state" widget="statusbar" statusbar_visible="active,inactive,deprecated" statusbar_colors='{"deprecated" : "red"}' nolabel="1"/>
971                         </div>
972                     </header>
973
974                     <sheet>
975                         <group>
976                         <field name="name"/>
977                         <field name="shop_id" widget="selection" />
978                         <field name="journal_id" widget="selection" />
979                         <field name="sequence_id" readonly="1"/>
980                         <field name="group_by" />
981                         </group>
982                         <separator string="Available Payment Methods" colspan="4"/>
983                         <field name="journal_ids" colspan="4" nolabel="1">
984                             <tree string="Journals">
985                                 <field name="code" />
986                                 <field name="name" />
987                                 <field name="type" />
988                                 <field name="opening_control" />
989                                 <field name="closing_control" />
990                             </tree>
991                         </field>
992                         <group string="Material Interfaces" >
993                             <group>
994                                 <field name="iface_self_checkout" />
995                                 <field name="iface_websql" />
996                                 <field name="iface_led" />
997                                 <field name="iface_cashdrawer" />
998                                 <field name="iface_payment_terminal" />
999                             </group>
1000                             <group>
1001                                 <field name="iface_electronic_scale" />
1002                                 <field name="iface_barscan" />
1003                                 <field name="iface_vkeyboard" />
1004                                 <field name="iface_print_via_proxy" />
1005                             </group>
1006                         </group>
1007                     </sheet>
1008
1009                 </form>
1010             </field>
1011         </record>
1012
1013         <record model="ir.ui.view" id="view_pos_config_tree">
1014             <field name="name">pos.config.tree.view</field>
1015             <field name="model">pos.config</field>
1016             <field name="type">tree</field>
1017             <field name="arch" type="xml">
1018                 <tree string="Point of Sale Configuration" colors="grey:state == 'inactive'">
1019                     <field name="name" />
1020                     <field name="shop_id" />
1021                     <field name="state" />
1022                 </tree>
1023             </field>
1024         </record>
1025
1026         <record model="ir.ui.view" id="view_pos_config_search">
1027             <field name="name">pos.config.search.view</field>
1028             <field name="model">pos.config</field>
1029             <field name="type">search</field>
1030             <field name="arch" type="xml">
1031                 <search string="Point of Sale Config">
1032                     <field name="name" />
1033                     <filter string="Active" domain="[('state', '=', 'active')]" />
1034                     <filter string="Inactive" domain="[('state', '=', 'inactive')]" />
1035                     <field name="shop_id" />
1036                 </search>
1037             </field>
1038         </record>
1039
1040
1041         <act_window
1042             id="act_pos_config_sessions"
1043             name="Sessions"
1044             src_model="pos.config"
1045             res_model="pos.session"
1046             domain="[('config_id', '=', active_id)]" />
1047
1048         <record model="ir.actions.act_window" id="action_pos_config_pos">
1049             <field name="name">Point of Sales</field>
1050             <field name="type">ir.actions.act_window</field>
1051             <field name="res_model">pos.config</field>
1052             <field name="view_type">form</field>
1053             <field name="view_mode">tree,form</field>
1054             <field name="search_view_id" ref="view_pos_config_search" />
1055         </record>
1056
1057         <menuitem
1058             parent="menu_point_config_product"
1059             action="action_pos_config_pos"
1060             id="menu_pos_config_pos"
1061             groups="group_pos_manager"/>
1062
1063         <act_window
1064             id="act_pos_session_orders"
1065             name="Orders"
1066             src_model="pos.session"
1067             res_model="pos.order"
1068             context="{'search_default_session_id': active_id, 'default_session_id' : active_id }" />
1069
1070
1071
1072         <record model="ir.ui.view" id="view_pos_session_form">
1073             <field name="name">pos.session.form.view</field>
1074             <field name="model">pos.session</field>
1075             <field name="type">form</field>
1076             <field name="arch" type="xml">
1077                 <form string="Point of Sale Session" version="7.0">
1078                     <header>
1079                         <button name="open" type="workflow" string="Validate &amp; Open Session" states="opening_control" class="oe_highlight"/>
1080                         <button name="cashbox_control" type="workflow" string="End of Session" states="opened"
1081                             class="oe_highlight"/>
1082                         <button name="close" type="workflow" string="Validate Closing &amp; Post Entries" states="closing_control"
1083                             class="oe_highlight"/>
1084                         <button name="open_frontend_cb" type="object" string="Start Selling" states="opened"/>
1085                         <div class="oe_right">
1086                             <field name="state" widget="statusbar" statusbar_visible="opening_control,opened,closing_control,closed" nolabel="1"/>
1087                         </div>
1088                     </header>
1089                     <sheet>
1090                         <div class="oe_right oe_button_box">
1091                             <button name="%(action_pos_box_in)d" string="Put Money In" type="action" states="opened,closing_control"/>
1092                             <button name="%(action_pos_box_out)d" string="Take Money Out" type="action" states="opened,closing_control"/>
1093                         </div>
1094                         <h1 class="oe_title">
1095                             Point of Sale Session: 
1096                             <field name="name" attrs="{'invisible': [('name','=','/')]}" class="oe_inline"/>
1097                         </h1>
1098                         <field name="config_id" invisible="1"/>
1099                         <field name="has_opening_control" invisible="1" />
1100                         <field name="has_closing_control" invisible="1" />
1101                         <group>
1102                             <group>
1103                                 <field name="user_id"/>
1104                             </group>
1105                             <group>
1106                                 <field name="start_at" attrs="{'invisible' : [('state', '=', 'opening_control')]}"/>
1107                                 <field name="stop_at" attrs="{'invisible' : [('state', '&lt;&gt;', 'closed')]}"/>
1108                             </group>
1109                             <newline/>
1110
1111                             <group string="Opening Cash Control">
1112                                 <field name="opening_details_ids" nolabel="1" colspan="2" attrs="{'readonly' : [('state', 'not in', ('opening_control',))]}">
1113                                     <tree string="Opening Cashbox Lines" editable="bottom">
1114                                         <field name="pieces" readonly="1" />
1115                                         <field name="number_opening" string="Opening Unit Numbers" on_change="on_change_sub_opening(pieces, number_opening)" />
1116                                         <field name="subtotal_opening" string="Opening Subtotal" sum="Total"/>
1117                                     </tree>
1118                                 </field>
1119                             </group>
1120                             <group string="Closing Cash Control" attrs="{'invisible': [('state', '=', 'opening_control')]}">
1121                                 <field name="details_ids" nolabel="1" colspan="2">
1122                                     <tree string="Cashbox Lines" editable="bottom">
1123                                         <field name="pieces" readonly="1" />
1124                                         <field name="number_closing"/>
1125                                         <field name="subtotal_closing"/>
1126                                     </tree>
1127                                 </field>
1128                             </group>
1129
1130                             <div>
1131                                 <group class="oe_subtotal_footer oe_right">
1132                                     <field name="cash_register_balance_start" readonly="1" string="Opening Balance" class="oe_subtotal_footer_separator"/>
1133                                     <field name="cash_register_total_entry_encoding"  attrs="{'invisible' : [('state', '=', 'opening_control')]}" string="+ Transactions"/>
1134                                     <field name="cash_register_balance_end" attrs="{'invisible' : [('state', '=', 'opening_control')]}" string="= Theorical Balance"/>
1135                                 </group>
1136                                 <div attrs="{'invisible' : [('state', '&lt;&gt;', 'opening_control')]}" class="oe_view_nocontent" groups="point_of_sale.group_pos_manager">
1137                                     <p class="oe_view_nocontent_create">
1138                                     You can define another list of available currencies on the
1139                                     <i>Cash Registers</i> tab of the <b><field name="cash_register_id" class="oe_inline"/></b>
1140                                     payment method.
1141                                     </p>
1142                                 </div>
1143                             </div>
1144
1145
1146                             <group class="oe_subtotal_footer oe_right" attrs="{'invisible' : [('state', '=', 'opening_control')]}">
1147                                 <field name="cash_register_balance_end_real" class="oe_subtotal_footer_separator"/>
1148                                 <field name="cash_register_difference"  class="oe_subtotal_footer_separator"/>
1149                             </group>
1150                         </group>
1151
1152                         <separator string="Summary by Payment Methods" attrs="{'invisible' : [('state', '=', 'opening_control')]}"/>
1153                         <field name="statement_ids" attrs="{'invisible' : [('state', '=', 'opening_control')]}">
1154                             <tree string="Statements">
1155                                 <field name="name" />
1156                                 <field name="journal_id" />
1157                                 <field name="balance_start" />
1158                                 <field name="total_entry_encoding" />
1159                                 <field name="balance_end_real" />
1160                                 <field name="difference" />
1161                                 <field name="currency" />
1162                                 <field name="state" />
1163                             </tree>
1164                         </field>
1165
1166                     </sheet>
1167                 </form>
1168             </field>
1169         </record>
1170
1171         <record model="ir.ui.view" id="view_pos_session_tree">
1172             <field name="name">pos.session.tree.view</field>
1173             <field name="model">pos.session</field>
1174             <field name="type">tree</field>
1175             <field name="arch" type="xml">
1176                 <tree string="Point of Sale Session">
1177                     <field name="config_id" />
1178                     <field name="name" />
1179                     <field name="user_id" />
1180                     <field name="start_at" />
1181                     <field name="stop_at" />
1182                     <field name="state" />
1183                 </tree>
1184             </field>
1185         </record>
1186
1187         <record model="ir.ui.view" id="view_pos_session_search">
1188             <field name="name">pos.session.search.view</field>
1189             <field name="model">pos.session</field>
1190             <field name="type">search</field>
1191             <field name="arch" type="xml">
1192                 <search string="Point of Sale Session">
1193                     <field name="name" />
1194                     <filter string="Open" domain="[('state', '=', 'opened')]" />
1195                     <separator/>
1196                     <filter string="Today" domain="[('start_at', '>=', time.strftime('%%Y-%%m-%%d 00:00:00'))]" />
1197                     <field name="config_id" />
1198                     <field name="user_id" />
1199                     <group expand="0" string="Group By...">
1200                         <filter string="User" icon="terp-personal" domain="[]" context="{'group_by' : 'user_id'}" />
1201                         <filter string="Point of Sales" domain="[]" context="{'group_by': 'user_id'}" />
1202                     </group>
1203                 </search>
1204             </field>
1205         </record>
1206
1207
1208         <record model="ir.actions.act_window" id="action_pos_session">
1209             <field name="name">All Sessions</field>
1210             <field name="type">ir.actions.act_window</field>
1211             <field name="res_model">pos.session</field>
1212             <field name="view_type">form</field>
1213             <field name="view_mode">tree,form</field>
1214             <field name="search_view_id" ref="view_pos_session_search" />
1215         </record>
1216
1217         <menuitem
1218             parent="menu_point_of_sale"
1219             action="action_pos_session"
1220             id="menu_pos_session_all"
1221             sequence="1"
1222             groups="group_pos_manager"/>
1223
1224         <record id="view_pos_order_filter" model="ir.ui.view">
1225             <field name="name">pos.order.list.select</field>
1226             <field name="model">pos.order</field>
1227             <field name="type">search</field>
1228             <field name="arch" type="xml">
1229                 <search string="Search Sales Order">
1230                     <field name="name"/>
1231                     <field name="date_order"/>
1232                     <filter icon="terp-document-new" string="New" domain="[('state','=','draft')]"/>
1233                     <filter icon="gtk-apply" string="Done" domain="[('state','in',('paid','invoiced','done'))]"/>
1234                     <filter icon="terp-check" string="Invoiced" domain="[('state','=','invoiced')]"/>
1235                     <filter icon="gtk-convert" string="Posted" domain="[('state','=','done')]"/>
1236                     <field name="user_id"/>
1237                     <field name="session_id"/>
1238                     <group expand="0" string="Group By..." groups="base.group_extended">
1239                         <filter string="Customer" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
1240                         <filter string="Salesman" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
1241                         <filter string="Session" icon="terp-personal" domain="[]" context="{'group_by':'session_id'}"/>
1242                         <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1243                         <filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_order'}"/>
1244                     </group>
1245                 </search>
1246             </field>
1247         </record>
1248
1249         <menuitem action="action_pos_session_opening"
1250             parent="menu_point_of_sale"
1251             id="menu_pos_session_opening" sequence="0"/>
1252
1253         <record model="ir.ui.view" id="pos_ean13_generator">
1254             <field name="name">pos.ean_wizard</field>
1255             <field name="model">pos.ean_wizard</field>
1256             <field name="type">form</field>
1257             <field name="arch" type="xml">
1258                 <form string="Ean13 Generator" version="7.0">  
1259                     <field name="ean13_pattern"/>
1260                     <footer>
1261                         <button name="sanitize_ean13" type="object" string="Apply"/>
1262                     </footer>
1263                 </form>
1264             </field>
1265         </record>
1266
1267
1268     </data>
1269 </openerp>