2008-08-24 14:45:43 +00:00
|
|
|
<?xml version="1.0"?>
|
2008-09-10 17:56:00 +00:00
|
|
|
<openerp>
|
2008-12-19 16:39:18 +00:00
|
|
|
<data>
|
2010-06-17 12:16:52 +00:00
|
|
|
<menuitem name="Point of Sale" id="menu_point_root" sequence="21"
|
2010-06-12 16:33:16 +00:00
|
|
|
icon="terp-partner"
|
2010-11-26 12:02:38 +00:00
|
|
|
groups="group_pos_manager,group_pos_user"
|
|
|
|
web_icon="images/pos.png"
|
|
|
|
web_icon_hover="images/pos-hover.png"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2008-12-19 16:39:18 +00:00
|
|
|
<record model="ir.ui.view" id="view_pos_pos_form">
|
|
|
|
<field name="name">pos.order</field>
|
|
|
|
<field name="model">pos.order</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Sales Order POS">
|
2010-05-17 08:44:20 +00:00
|
|
|
<group col="6" colspan="4">
|
2010-09-17 11:16:27 +00:00
|
|
|
<field name="name"/>
|
|
|
|
<field name="date_order"/>
|
|
|
|
<field name="shop_id" widget="selection"/>
|
2010-06-12 16:21:54 +00:00
|
|
|
<field name="partner_id" on_change="onchange_partner_pricelist(partner_id)"/>
|
2010-08-18 07:32:55 +00:00
|
|
|
<field name="contract_number" groups="base.group_extended"/>
|
2010-06-12 16:21:54 +00:00
|
|
|
</group>
|
2010-09-17 09:22:57 +00:00
|
|
|
<notebook colspan="4">
|
2010-09-17 11:16:27 +00:00
|
|
|
<page string="Sale Order">
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="lines" colspan="4" nolabel="1">
|
|
|
|
<tree string="Order lines" editable="bottom">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,qty,parent.partner_id)" width="275" />
|
2010-08-16 06:46:01 +00:00
|
|
|
<field name="qty" on_change="onchange_qty(discount, qty, price_unit)"/>
|
2010-07-14 06:42:47 +00:00
|
|
|
<field name="price_ded" on_change="onchange_ded(price_ded, price_subtotal_incl,price_unit)" invisible="1"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="price_unit" readonly="1"/>
|
2010-08-09 09:58:47 +00:00
|
|
|
<field name="discount" on_change="onchange_discount(discount,price_unit)" />
|
2010-07-14 06:42:47 +00:00
|
|
|
<field name="notice" on_change="onchange_dis(qty,price_subtotal_incl,discount)"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="price_subtotal" />
|
2010-06-24 10:41:36 +00:00
|
|
|
<field name="price_subtotal_incl" sum="Subtotal"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
</tree>
|
2010-09-17 09:22:57 +00:00
|
|
|
<form string="Order lines">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,qty,parent.partner_id)" width="275"/>
|
2010-07-14 06:42:47 +00:00
|
|
|
<field name="qty"/>
|
2010-05-17 08:44:20 +00:00
|
|
|
<field name="qty_rfd" groups="base.group_extended"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="discount" on_change="onchange_discount(discount,price_unit)" />
|
|
|
|
<field name="price_ded" on_change="onchange_ded(price_ded, price_unit)" />
|
|
|
|
<field name="price_unit"/>
|
|
|
|
<field name="notice"/>
|
|
|
|
<field name="serial_number"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
<group colspan="4" col="7">
|
|
|
|
<field name="amount_tax"/>
|
|
|
|
<field name="amount_total"/>
|
|
|
|
</group>
|
|
|
|
|
2010-09-11 07:42:18 +00:00
|
|
|
<separator colspan="4"/>
|
2010-11-15 13:59:05 +00:00
|
|
|
<group colspan="4" col="8">
|
2010-07-14 06:42:47 +00:00
|
|
|
<field name="state" />
|
2010-11-15 13:59:05 +00:00
|
|
|
<button name="%(action_add_product)d" string="Add product" type="action" icon="gtk-ok" states="draft"/>
|
2010-09-20 07:10:38 +00:00
|
|
|
<button name="%(action_pos_payment)d" string="Make Payment" icon="terp-dolar" type="action" states="draft,advance" />
|
|
|
|
<button name="%(action_report_pos_receipt)d" string="Reprint" icon="gtk-print" type="action" states="paid,done,invoiced"/>
|
|
|
|
<button name="set_to_draft" string="Set to draft" states="paid" icon="gtk-execute" type="object" />
|
|
|
|
<button name="%(action_view_pos_return)d" string="Return Picking" type="action" icon="gtk-ok" states="paid"
|
2010-05-25 10:27:56 +00:00
|
|
|
attrs="{'invisible':[('state','!=','paid'),('state','!=','invoiced')]}" context="{'return':'return'}" />
|
2008-12-19 16:39:18 +00:00
|
|
|
</group>
|
|
|
|
</page>
|
2010-09-17 11:16:27 +00:00
|
|
|
<page string="Payment">
|
|
|
|
<field name="statement_ids" colspan="4" nolabel="1">
|
|
|
|
<tree editable="bottom" string="Statement lines">
|
|
|
|
<field name="amount"/>
|
|
|
|
<field name="journal_id"/>
|
|
|
|
<field name="statement_id" />
|
|
|
|
</tree>
|
|
|
|
<form string="Statement lines">
|
|
|
|
<field name="account_id"/>
|
|
|
|
<field name="amount"/>
|
|
|
|
<field name="statement_id" domain="[('company_id','=',parent.company_id),('state','=','open')]"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</page>
|
|
|
|
<page string="Extra Info">
|
2010-01-18 08:38:26 +00:00
|
|
|
<group colspan="2" col="2" name="Type">
|
2010-09-17 11:16:27 +00:00
|
|
|
<separator string="Other Information" colspan="4"/>
|
2010-06-25 05:27:59 +00:00
|
|
|
<field name="user_salesman_id" />
|
2010-05-13 13:29:23 +00:00
|
|
|
<field name="company_id" groups="base.group_multi_company"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="price_type" />
|
2010-08-09 09:58:47 +00:00
|
|
|
<field name="user_id" string="Salesman" groups="base.group_extended"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</group>
|
|
|
|
<group colspan="2" col="2" name="Type">
|
|
|
|
<separator string="Dates" colspan="4"/>
|
2010-05-13 09:04:47 +00:00
|
|
|
<field name="date_validation" />
|
|
|
|
<field name="date_payment" groups="base.group_extended"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</group>
|
|
|
|
<group colspan="4">
|
2010-07-10 13:29:35 +00:00
|
|
|
<field name="sale_journal" domain="[('type','=','sale')]" widget="selection" invisible="1"/>
|
|
|
|
<field name="pricelist_id" domain="[('type','=','sale')]" widget="selection" invisible="1"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</group>
|
2008-12-19 16:39:18 +00:00
|
|
|
</page>
|
2010-01-18 08:38:26 +00:00
|
|
|
<page string="Notes" >
|
2010-06-12 16:21:54 +00:00
|
|
|
<field colspan="4" name="note" nolabel="1"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="action_pos_pos_form">
|
|
|
|
<field name="name">Point of Sale</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_id" ref="view_pos_pos_form"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="domain">[['date_order','>=',time.strftime('%Y-%m-%d')]]</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_pos_order_tree">
|
|
|
|
<field name="name">Sales</field>
|
|
|
|
<field name="model">pos.order</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-09-17 11:16:27 +00:00
|
|
|
<tree string="POS Orders" colors="blue:state == 'draft';gray:state in ('done','cancel');black:state not in('done','cancel')">
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="name"/>
|
2010-09-17 09:22:57 +00:00
|
|
|
<field name="partner_id"/>
|
2010-05-13 09:04:47 +00:00
|
|
|
<field name="date_order"/>
|
2010-04-20 13:50:58 +00:00
|
|
|
<field name="date_validation"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="date_payment"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="invoice_id"/>
|
|
|
|
<field name="amount_total" sum="Amount total"/>
|
2010-05-13 13:29:23 +00:00
|
|
|
<field name="company_id" groups="base.group_multi_company"/>
|
2010-09-17 09:22:57 +00:00
|
|
|
<field name="state"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-04-15 13:03:34 +00:00
|
|
|
<record id="view_pos_order_filter" model="ir.ui.view">
|
|
|
|
<field name="name">pos.order.list.select</field>
|
|
|
|
<field name="model">pos.order</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Search Sales Order">
|
2010-06-01 05:30:23 +00:00
|
|
|
<filter icon="terp-document-new" string="Quotations" domain="[('state','=','draft')]"/>
|
|
|
|
<filter icon="terp-check" string="Running" domain="[('state','in',('payment','advance'))]"/>
|
2010-04-15 13:03:34 +00:00
|
|
|
<separator orientation="vertical"/>
|
2010-09-17 09:22:57 +00:00
|
|
|
<field name="name"/>
|
|
|
|
<field name="partner_id"/>
|
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="date_order" string="Order date"/>
|
2010-04-15 13:03:34 +00:00
|
|
|
<newline/>
|
2010-06-01 05:30:23 +00:00
|
|
|
<group expand="0" string="Group By..." colspan="11" col="11" groups="base.group_extended">
|
|
|
|
<filter string="Customer" icon="terp-personal" domain="[]" context="{'group_by':'partner_id'}"/>
|
2010-09-17 09:22:57 +00:00
|
|
|
<filter string="Salesman" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
|
|
|
|
<separator string="" orientation="vertical"/>
|
2010-06-01 05:30:23 +00:00
|
|
|
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
2010-09-17 09:22:57 +00:00
|
|
|
<separator string="" orientation="vertical"/>
|
2010-06-01 05:30:23 +00:00
|
|
|
<filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_order'}"/>
|
2010-04-15 13:03:34 +00:00
|
|
|
</group>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-05-13 13:17:19 +00:00
|
|
|
|
2010-08-02 06:24:15 +00:00
|
|
|
<menuitem name="Daily Operations" id="menu_point_of_sale" parent="menu_point_root" sequence="1" />
|
2010-10-16 16:47:09 +00:00
|
|
|
<menuitem name="Sales Order" parent="menu_point_of_sale" id="menu_point_ofsale" action="action_pos_pos_form" sequence="1" groups="group_pos_manager,group_pos_user"/>
|
2010-06-22 10:12:39 +00:00
|
|
|
<menuitem name="Products" id="menu_point_of_sale_product" parent="menu_point_root" sequence="15" />
|
2010-05-13 13:17:19 +00:00
|
|
|
|
2010-05-05 10:42:36 +00:00
|
|
|
<menuitem action="product.product_normal_action" id="menu_pos_products" parent="menu_point_of_sale_product" sequence="2" name="Products"/>
|
2009-11-25 09:58:41 +00:00
|
|
|
|
2010-01-18 08:38:26 +00:00
|
|
|
<!-- POS Order view (date_payment) -->
|
|
|
|
<record model="ir.actions.act_window" id="action_pos_pos_form_user">
|
|
|
|
<field name="name">Point of Sale</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order</field>
|
|
|
|
<field name="view_type">form</field>
|
2010-04-15 13:03:34 +00:00
|
|
|
<field name="view_mode">tree,form</field>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="view_id" ref="view_pos_order_tree"/>
|
2010-07-10 13:29:35 +00:00
|
|
|
<field name="domain">['|',('state','=','advance')]</field>
|
2010-05-13 13:17:19 +00:00
|
|
|
<field name="context">{"search_default_user_id":uid}</field>
|
2010-06-12 16:21:54 +00:00
|
|
|
<field name="search_view_id" ref="view_pos_order_filter"/>
|
2010-05-13 13:17:19 +00:00
|
|
|
|
2010-01-18 08:38:26 +00:00
|
|
|
</record>
|
2008-12-19 16:39:18 +00:00
|
|
|
|
2010-01-18 08:38:26 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_pos_order_accepted">
|
|
|
|
<field name="name">Accepted Sales</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=', 'paid')]</field>
|
2010-05-13 13:17:19 +00:00
|
|
|
<field name="context">{"search_default_user_id":uid}</field>
|
2010-08-19 05:30:59 +00:00
|
|
|
<field name="search_view_id" ref="view_pos_order_filter"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</record>
|
2008-12-19 16:39:18 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_pos_order_tree2">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Point of Sale</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="domain">[('date_order','<=', time.strftime('%Y-%m-%d 23:59:59'))]</field>
|
2010-05-13 13:17:19 +00:00
|
|
|
<field name="context">{"search_default_user_id":uid}</field>
|
2010-08-19 05:30:59 +00:00
|
|
|
<field name="search_view_id" ref="view_pos_order_filter"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2008-12-19 16:39:18 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_pos_order_tree3">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Point of Sale</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2010-05-13 13:17:19 +00:00
|
|
|
<field name="context">{"search_default_user_id":uid}</field>
|
2010-06-12 16:21:54 +00:00
|
|
|
<field name="search_view_id" ref="view_pos_order_filter"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_pos_order_tree_open">
|
|
|
|
<field name="name">Opened Sales</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form,tree</field>
|
2010-05-13 13:17:19 +00:00
|
|
|
<field name="context">{"search_default_user_id":uid}</field>
|
2010-06-12 16:21:54 +00:00
|
|
|
<field name="search_view_id" ref="view_pos_order_filter"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</record>
|
2008-12-19 16:39:18 +00:00
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_pos_order_line">
|
|
|
|
<field name="name">Sale lines</field>
|
|
|
|
<field name="model">pos.order.line</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="POS Order lines">
|
|
|
|
<field name="product_id" readonly="1"/>
|
|
|
|
<field name="qty" readonly="1" sum="Total qty"/>
|
|
|
|
<field name="discount" readonly="1"/>
|
|
|
|
<field name="price_unit" readonly="1"/>
|
|
|
|
<field name="price_subtotal" readonly="1" sum="Sum of subtotals"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="price_subtotal_incl" readonly="1" sum="Sum of subtotals"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="create_date" readonly="1"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_pos_order_line_form">
|
|
|
|
<field name="name">Sale line</field>
|
|
|
|
<field name="model">pos.order.line</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="POS Order line">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="product_id" select="1"/>
|
|
|
|
<field name="qty" select="1"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="discount" />
|
|
|
|
<field name="price_unit" />
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="create_date" select="1"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_pos_order_line">
|
|
|
|
<field name="name">Sale line</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order.line</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_pos_order_line"/>
|
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_pos_order_line_form">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Sale line</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order.line</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form,tree</field>
|
|
|
|
<field name="view_id" ref="view_pos_order_line_form"/>
|
|
|
|
</record>
|
2008-12-19 16:39:18 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_pos_order_line_day">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Sale line</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order.line</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_pos_order_line"/>
|
2009-01-27 15:34:48 +00:00
|
|
|
<field name="domain">[('create_date', '>=', time.strftime('%Y-%m-%d 00:00:00')),('create_date', '<=', time.strftime('%Y-%m-%d 23:59:59'))]</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2008-12-19 16:39:18 +00:00
|
|
|
<!-- report -->
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_pos_trans_user_form">
|
|
|
|
<field name="name">report.trans.pos.user.form</field>
|
|
|
|
<field name="model">report.transaction.pos</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="POS ">
|
|
|
|
<field name="user_id" select="1"/>
|
|
|
|
<field name="journal_id" select="1"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="jl_id" select="1"/>
|
2009-01-21 01:45:50 +00:00
|
|
|
<field name="date_create" select="1" widget="date"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="no_trans"/>
|
|
|
|
<field name="amount"/>
|
|
|
|
<field name="invoice_id"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_trans_pos_user_tree">
|
|
|
|
<field name="name">Sales by user</field>
|
|
|
|
<field name="model">report.transaction.pos</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="POS">
|
2009-01-21 01:45:50 +00:00
|
|
|
<field name="date_create" widget="date" />
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="journal_id"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="jl_id"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="no_trans" sum="Total Transaction"/>
|
|
|
|
<field name="amount" sum="Amount total"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="product_nb" />
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="invoice_id"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="disc"/>
|
2008-12-19 16:39:18 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_transaction_pos_calendar">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="name">report.transaction.pos.calendar</field>
|
|
|
|
<field name="model">report.transaction.pos</field>
|
|
|
|
<field name="type">calendar</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<calendar color="user_id" date_start="date_create" string="POS Report">
|
|
|
|
<field name="journal_id"/>
|
|
|
|
<field name="amount"/>
|
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_transaction_pos_graph">
|
|
|
|
<field name="name">report.transaction.pos.graph</field>
|
|
|
|
<field name="model">report.transaction.pos</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph type="bar" string="POS Report">
|
|
|
|
<field name="user_id" />
|
|
|
|
<field name="amount"/>
|
|
|
|
<field group="True" name="journal_id"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2008-12-19 16:39:18 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_trans_pos_tree_today">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Sales by day</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="res_model">report.transaction.pos</field>
|
|
|
|
<field name="view_type">form</field>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="view_mode">tree,calendar,form,graph</field>
|
|
|
|
<field name="domain">[('date_create','=',time.strftime('%Y-%m-%d'))]</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_trans_pos_tree_month">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Sales by month</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="res_model">report.transaction.pos</field>
|
|
|
|
<field name="view_type">form</field>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="view_mode">tree,calendar,form,graph</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
<field name="domain">[('date_create','like',time.strftime('%Y-%m'))]</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_trans_pos_tree">
|
|
|
|
<field name="name">Sales by user</field>
|
|
|
|
<field name="res_model">report.transaction.pos</field>
|
|
|
|
<field name="view_type">form</field>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="view_mode">tree,calendar,form,graph</field>
|
|
|
|
<field name="view_id" ref="view_trans_pos_user_tree"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_user_pos_form">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">report.sales.by.user.pos.form</field>
|
|
|
|
<field name="model">report.sales.by.user.pos</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="POS ">
|
|
|
|
<field name="date_order" select="1" widget="date"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
|
|
|
<field name="amount"/>
|
|
|
|
<field name="user_id"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_user_pos_tree">
|
|
|
|
<field name="name">report.sales.by.user.pos.tree</field>
|
|
|
|
<field name="model">report.sales.by.user.pos</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="POS">
|
|
|
|
<field name="date_order" select="1" widget="date"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
|
|
|
<field name="amount"/>
|
|
|
|
<field name="user_id"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_user_pos_calendar">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="name">report.sales.by.user.pos.calendar</field>
|
|
|
|
<field name="model">report.sales.by.user.pos</field>
|
|
|
|
<field name="type">calendar</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<calendar color="user_id" date_start="date_order" string="POS Report">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="amount" />
|
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_user_pos_graph">
|
|
|
|
<field name="name">report.sales.by.user.pos.graph</field>
|
|
|
|
<field name="model">report.sales.by.user.pos</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph type="bar" string="Sales by User">
|
|
|
|
<field name="user_id" />
|
|
|
|
<field name="amount"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_report_sales_by_user_pos_today">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Sales by User</field>
|
|
|
|
<field name="res_model">report.sales.by.user.pos</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,calendar,form,graph</field>
|
|
|
|
<field name="domain">[('date_order','=',time.strftime('%Y-%m-%d'))]</field>
|
2010-04-16 09:16:25 +00:00
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<!-- Sales of user by month -->
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_user_pos_month_form">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">report.sales.by.user.pos.month.form</field>
|
|
|
|
<field name="model">report.sales.by.user.pos.month</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="POS ">
|
|
|
|
<field name="date_order" select="1" widget="date"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
|
|
|
<field name="amount"/>
|
|
|
|
<field name="user_id"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_user_pos_month_tree">
|
|
|
|
<field name="name">report.sales.by.user.pos.month.tree</field>
|
|
|
|
<field name="model">report.sales.by.user.pos.month</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="POS">
|
|
|
|
<field name="date_order" select="1" widget="date"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
|
|
|
<field name="amount"/>
|
|
|
|
<field name="user_id"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_user_pos_month_calendar">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="name">report.sales.by.user.pos.month.calendar</field>
|
|
|
|
<field name="model">report.sales.by.user.pos.month</field>
|
|
|
|
<field name="type">calendar</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<calendar color="user_id" date_start="date_order" string="POS Report">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="amount" />
|
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_user_pos_month_graph">
|
|
|
|
<field name="name">report.sales.by.user.pos.month.graph</field>
|
|
|
|
<field name="model">report.sales.by.user.pos.month</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph type="bar" string="Sales by User">
|
|
|
|
<field name="user_id" />
|
|
|
|
<field name="amount"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_report_sales_by_user_pos_month">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Sales by User Monthly</field>
|
|
|
|
<field name="res_model">report.sales.by.user.pos.month</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,calendar,form,graph</field>
|
|
|
|
<field name="domain">[('date_order','like',time.strftime('%Y-%m'))]</field>
|
2010-04-16 09:16:25 +00:00
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<!-- Sales by margin -->
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_margin_pos_form">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">report.sales.by.margin.pos.form</field>
|
|
|
|
<field name="model">report.sales.by.margin.pos</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="POS ">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="product_name"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="date_order" select="1" widget="date"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
|
|
|
<field name="net_margin_per_qty"/>
|
|
|
|
<field name="total"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_margin_pos_tree">
|
|
|
|
<field name="name">report.sales.by.margin.pos.tree</field>
|
|
|
|
<field name="model">report.sales.by.margin.pos</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="POS">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="product_name"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="date_order" select="1" widget="date"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
|
|
|
<field name="net_margin_per_qty"/>
|
|
|
|
<field name="total"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
2008-12-19 16:39:18 +00:00
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_margin_pos_calendar">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="name">report.sales.by.margin.pos.calendar</field>
|
|
|
|
<field name="model">report.sales.by.margin.pos</field>
|
|
|
|
<field name="type">calendar</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<calendar color="user_id" date_start="date_order" string="Sales by User Margin">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="product_name"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="total" />
|
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_margin_pos_graph">
|
|
|
|
<field name="name">report.sales.by.margin.pos.graph</field>
|
|
|
|
<field name="model">report.sales.by.margin.pos</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph type="bar" string="Sales by User Margin" orientation="horizontal">
|
|
|
|
<field name="product_name" />
|
|
|
|
<field name="total" operator="+"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_report_sales_by_margin_pos_today">
|
|
|
|
<field name="name">Sales by User Daily margin</field>
|
|
|
|
<field name="res_model">report.sales.by.margin.pos</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,calendar,form,graph</field>
|
|
|
|
<field name="domain">[('date_order','=',time.strftime('%Y-%m-%d'))]</field>
|
2010-04-16 09:16:25 +00:00
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_margin_pos_month_form">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">report.sales.by.margin.pos.month.form</field>
|
|
|
|
<field name="model">report.sales.by.margin.pos.month</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="POS ">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="product_name"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="date_order" select="1" widget="date"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
|
|
|
<field name="net_margin_per_qty"/>
|
|
|
|
<field name="total"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_margin_pos_month_tree">
|
|
|
|
<field name="name">report.sales.by.margin.pos.month.tree</field>
|
|
|
|
<field name="model">report.sales.by.margin.pos.month</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="POS">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="product_name"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="date_order" select="1" widget="date"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="qty"/>
|
|
|
|
<field name="net_margin_per_qty"/>
|
|
|
|
<field name="total"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_margin_pos_month_calendar">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="name">report.sales.by.margin.pos.month.calendar</field>
|
|
|
|
<field name="model">report.sales.by.margin.pos.month</field>
|
|
|
|
<field name="type">calendar</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<calendar color="user_id" date_start="date_order" string="Sales by User Margin">
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="product_name"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="total" />
|
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_report_sales_by_margin_pos_month_graph">
|
|
|
|
<field name="name">report.sales.by.margin.pos.month.graph</field>
|
|
|
|
<field name="model">report.sales.by.margin.pos.month</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field eval="2" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph type="bar" string="Sales by User Margin" orientation="horizontal">
|
|
|
|
<field name="product_name" />
|
|
|
|
<field name="total" operator="+"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_report_sales_by_margin_pos_month">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Sales by User Monthly margin</field>
|
|
|
|
<field name="res_model">report.sales.by.margin.pos.month</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,calendar,form,graph</field>
|
|
|
|
<field name="domain">[('date_order','like',time.strftime('%Y-%m'))]</field>
|
2010-04-16 09:16:25 +00:00
|
|
|
</record>
|
|
|
|
<!-- Sales by margin ends -->
|
|
|
|
<record model="ir.ui.view" id="view_company_form_pos">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">view.company.form.pos</field>
|
|
|
|
<field name="model">res.company</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="base.view_company_form"/>
|
|
|
|
<field name="arch" type="xml">
|
2010-04-16 09:16:25 +00:00
|
|
|
<notebook position="inside">
|
2010-01-18 08:38:26 +00:00
|
|
|
<page string="Other">
|
|
|
|
<field name="company_discount" colspan="4"/>
|
|
|
|
<field name="max_diff" colspan="4"/>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
2010-04-16 09:16:25 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
|
|
|
<record id="product_normal_form_view" model="ir.ui.view">
|
|
|
|
<field name="name">product.normal.form.inherit</field>
|
|
|
|
<field name="model">product.product</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="active" position="after">
|
|
|
|
<field name="income_pdt"/>
|
|
|
|
<field name="expense_pdt"/>
|
|
|
|
<field name="am_out"/>
|
|
|
|
<field name="disc_controle"/>
|
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="product_input_output_form_view" model="ir.ui.view">
|
|
|
|
<field name="name">product.normal.form.inherit</field>
|
|
|
|
<field name="model">product.product</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-04-16 09:16:25 +00:00
|
|
|
<form string="Product">
|
|
|
|
<group colspan="4" col="6">
|
2010-01-18 08:38:26 +00:00
|
|
|
<group colspan="4" col="2">
|
|
|
|
<separator string="Product Description" colspan="4"/>
|
|
|
|
<field name="name" select="1" />
|
2010-04-18 15:32:44 +00:00
|
|
|
<field groups="base.group_extended" name="variants" />
|
2010-01-18 08:38:26 +00:00
|
|
|
</group>
|
|
|
|
<group colspan="1" col="2">
|
|
|
|
<separator string="Codes" colspan="2"/>
|
|
|
|
<field name="default_code" select="1"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field groups="base.group_extended" name="ean13"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Information">
|
|
|
|
<group colspan="2" col="2" name="Type">
|
|
|
|
<separator string="Product Type" colspan="2"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="categ_id" select="1"/>
|
|
|
|
<field name="property_account_income" select="1" string="Account" required="1"/>
|
2010-04-18 15:32:44 +00:00
|
|
|
<field name="type"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
</group>
|
|
|
|
<group colspan="2" col="2" name="Miscelleanous">
|
|
|
|
<separator string="Miscelleanous" colspan="2"/>
|
|
|
|
<field name="income_pdt"/>
|
|
|
|
<field name="expense_pdt"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="am_out"/>
|
|
|
|
<field name="disc_controle"/>
|
2010-05-25 10:38:59 +00:00
|
|
|
<field name="company_id" groups="base.group_extended,base.group_multi_company"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
</group>
|
|
|
|
<group colspan="2" col="2" name="Prices">
|
|
|
|
<separator string="Prices" colspan="2"/>
|
|
|
|
<field name="lst_price"/>
|
2010-10-17 11:59:01 +00:00
|
|
|
<field name="standard_price"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
</group>
|
2010-01-18 08:38:26 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<menuitem name="Configuration" parent="menu_point_root"
|
2010-10-16 16:47:09 +00:00
|
|
|
id="menu_point_config_product" sequence="25" groups="group_pos_manager"/>
|
2010-01-18 08:38:26 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_product_input">
|
|
|
|
<field name="name">Products</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">product.product</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('income_pdt','=',True)]</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_product_input_tree_tag">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="product.product_product_tree_view"/>
|
|
|
|
<field name="act_window_id" ref="action_product_input"/>
|
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_product_input_form_tag">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="product_input_output_form_view"/>
|
|
|
|
<field name="act_window_id" ref="action_product_input"/>
|
|
|
|
</record>
|
|
|
|
<menuitem name="Products for Input Operations"
|
|
|
|
parent="menu_point_config_product"
|
|
|
|
action="action_product_input"
|
2010-08-07 08:18:59 +00:00
|
|
|
id="products_for_input_operations"
|
2010-10-16 16:47:09 +00:00
|
|
|
groups="group_pos_manager"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="action_product_output">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Products</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">product.product</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('expense_pdt','=',True)]</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_product_output_tree_tag">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="product.product_product_tree_view"/>
|
|
|
|
<field name="act_window_id" ref="action_product_output"/>
|
|
|
|
</record>
|
2010-01-18 08:38:26 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_product_output_form_tag">
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="product_input_output_form_view"/>
|
|
|
|
<field name="act_window_id" ref="action_product_output"/>
|
|
|
|
</record>
|
|
|
|
<menuitem name="Products for Output Operations"
|
|
|
|
parent="menu_point_config_product"
|
|
|
|
action="action_product_output"
|
2010-08-07 08:18:59 +00:00
|
|
|
id="products_for_output_operations"
|
2010-10-16 16:47:09 +00:00
|
|
|
groups="group_pos_manager"/>
|
2010-05-13 13:17:19 +00:00
|
|
|
|
2010-01-18 08:38:26 +00:00
|
|
|
<menuitem
|
2010-06-25 05:27:59 +00:00
|
|
|
name="Input Operations" parent="menu_point_of_sale"
|
2010-01-18 08:38:26 +00:00
|
|
|
string="Refloat"
|
2010-03-15 05:52:08 +00:00
|
|
|
action="action_box_entries"
|
2010-06-25 05:27:59 +00:00
|
|
|
id="menu_wizard_enter_jrnl" sequence="2" />
|
2010-05-13 13:17:19 +00:00
|
|
|
|
2010-01-18 08:38:26 +00:00
|
|
|
<menuitem
|
2010-06-25 05:27:59 +00:00
|
|
|
name="Output Operations" parent="menu_point_of_sale"
|
2010-01-18 08:38:26 +00:00
|
|
|
string="Refloat"
|
2010-03-15 06:30:32 +00:00
|
|
|
action="action_box_out"
|
2010-01-18 08:38:26 +00:00
|
|
|
id="menu_wizard_enter_jrnl2" sequence="3" />
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="view_pos_order_tree_all_sales_lines">
|
|
|
|
<field name="name">POS Sales Lines</field>
|
|
|
|
<field name="model">pos.order.line</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="POS Orders lines">
|
|
|
|
<field name="order_id" select="1" />
|
|
|
|
<field name="serial_number" select="1" />
|
|
|
|
<field name="create_date" select="1" />
|
|
|
|
<field name="product_id" select="1" />
|
|
|
|
<field name="qty" />
|
|
|
|
<field name="price_unit" />
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="action_pos_all_sales_lines">
|
|
|
|
<field name="name">All sales lines</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.order.line</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_id" ref="view_pos_order_tree_all_sales_lines" />
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<!-- Miscelleanous Operations/Reporting -->
|
2010-10-16 16:47:09 +00:00
|
|
|
<menuitem name="Reporting" parent="menu_point_root" id="menu_point_rep" sequence="20" groups="group_pos_manager"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
<!-- Invoice -->
|
2010-01-18 08:38:26 +00:00
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_pos_invoice">
|
2010-01-18 08:38:26 +00:00
|
|
|
<field name="name">Invoices</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">account.invoice</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2010-04-16 09:16:25 +00:00
|
|
|
<field name="domain">[('origin','like','POS')]</field>
|
2010-01-18 08:38:26 +00:00
|
|
|
</record>
|
|
|
|
|
2010-04-16 09:16:25 +00:00
|
|
|
<menuitem icon="STOCK_PRINT" action="action_report_pos_payment_repport_date"
|
2010-08-09 11:07:08 +00:00
|
|
|
id="menu_pos_payment_report_date" parent="menu_point_rep" sequence="8" groups="base.group_extended"/>
|
2010-04-16 09:16:25 +00:00
|
|
|
<menuitem icon="STOCK_PRINT" action="action_report_pos_details"
|
2010-08-09 11:07:08 +00:00
|
|
|
id="menu_pos_details" parent="menu_point_rep" sequence="6" />
|
2010-01-18 08:38:26 +00:00
|
|
|
|
|
|
|
|
2008-12-19 16:39:18 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|