flectra/addons/point_of_sale/data/point_of_sale_data.xml

63 lines
2.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<data noupdate="0">
<record id="seq_picking_type_posout" model="ir.sequence">
<field name="name">Picking POS</field>
<field name="prefix">POS</field>
<field name="padding">5</field>
<field name="company_id" eval="False"/>
</record>
<record id="picking_type_posout" model="stock.picking.type">
<field name="name">PoS Orders</field>
<field name="sequence_id" ref="seq_picking_type_posout"/>
<field name="default_location_src_id" ref="stock.stock_location_stock"/>
<field name="default_location_dest_id" ref="stock.stock_location_customers"/>
<field name="warehouse_id" eval="False"/>
<field name="code">outgoing</field>
</record>
</data>
<data noupdate="1">
<!-- After closing the PoS, open the dashboard menu -->
<record id="action_client_pos_menu" model="ir.actions.client">
<field name="name">Open POS Menu</field>
<field name="tag">reload</field>
<field name="params" eval="{'menu_id': ref('menu_point_root')}"/>
</record>
<record id="product_product_tip" model="product.product">
<field name="name">Tips</field>
</record>
<record model="pos.config" id="pos_config_main">
<field name="name">Main</field>
<field name="picking_type_id" ref="picking_type_posout"/>
<field name="barcode_nomenclature_id" ref="barcodes.default_barcode_nomenclature"/>
</record>
<record id="product_product_consumable" model="product.product">
<field name="name">Miscellaneous</field>
<field name="standard_price">13.0</field>
<field name="list_price">18.0</field>
<field name="type">consu</field>
<field name="uom_id" ref="product.product_uom_unit"/>
<field name="uom_po_id" ref="product.product_uom_unit"/>
<field name="default_code">MISC</field>
<field name="image" type="base64" file="point_of_sale/static/img/product_product_49-image.jpg"/>
</record>
<record id="pos_sale_journal" model="account.journal">
<field name="name">POS Sale Journal</field>
<field name="code">POSS</field>
<field name="type">sale</field>
<!-- avoid being selected as default journal -->
<field name="sequence">20</field>
</record>
<record id="product.product_uom_categ_unit" model="product.uom.categ">
<field name="is_pos_groupable">True</field>
</record>
</data>
2018-01-16 11:34:37 +01:00
</flectra>