2010-03-18 12:37:56 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<!-- pos.details -->
|
|
|
|
|
|
|
|
<record id="view_pos_details" model="ir.ui.view">
|
|
|
|
<field name="name">POS Details</field>
|
|
|
|
<field name="model">pos.details</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="POS Details :">
|
|
|
|
<group col="2" colspan="4">
|
|
|
|
<field name="date_start"/>
|
|
|
|
<field name="date_end"/>
|
|
|
|
<button icon='gtk-cancel' special="cancel"
|
|
|
|
string="Close" />
|
|
|
|
<button name="print_report" string="Print Report"
|
2010-03-19 12:55:51 +00:00
|
|
|
colspan="1" type="object" icon="gtk-print" />
|
2010-03-18 12:37:56 +00:00
|
|
|
</group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-03-19 06:36:44 +00:00
|
|
|
|
|
|
|
<record id="action_report_pos_details" model="ir.actions.act_window">
|
2010-03-19 12:55:51 +00:00
|
|
|
<field name="name">Sale Details</field>
|
2010-03-19 06:36:44 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.details</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
<field name="context">{'record_id' : active_id}</field>
|
|
|
|
</record>
|
|
|
|
<!-- <act_window name="POS Details"
|
2010-03-18 12:53:23 +00:00
|
|
|
res_model="pos.details"
|
|
|
|
src_model="pos.order"
|
2010-03-18 12:37:56 +00:00
|
|
|
view_mode="form"
|
|
|
|
target="new"
|
|
|
|
key2="client_action_multi"
|
2010-03-19 06:36:44 +00:00
|
|
|
id="action_report_pos_details"/> -->
|
2010-03-18 12:37:56 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|