2010-03-15 05:52:08 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
2010-06-22 11:14:10 +00:00
|
|
|
<data>
|
2010-03-15 05:52:08 +00:00
|
|
|
<!-- Box Entries -->
|
2010-06-22 11:14:10 +00:00
|
|
|
|
2011-09-25 19:02:00 +00:00
|
|
|
<record id="view_box_entries" model="ir.ui.view">
|
2010-03-15 05:52:08 +00:00
|
|
|
<field name="name">Box Entries</field>
|
|
|
|
<field name="model">pos.box.entries</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2011-09-25 19:02:00 +00:00
|
|
|
<form string="Put Money">
|
|
|
|
<separator string="Fill in this form if you put money in the cash register:" colspan="4"/>
|
|
|
|
<field name="journal_id"/>
|
2012-04-10 11:24:29 +00:00
|
|
|
<field name="product_id"/>
|
2011-09-25 19:02:00 +00:00
|
|
|
<field name="amount"/>
|
2012-04-10 11:24:29 +00:00
|
|
|
<field name="session_id" />
|
|
|
|
<field name="user_id" invisible="1" />
|
|
|
|
<field name="name"/>
|
2011-09-25 19:02:00 +00:00
|
|
|
<separator colspan="4"/>
|
|
|
|
<group colspan="4" col="4">
|
|
|
|
<group col="2" colspan="2"/>
|
|
|
|
<button icon="gtk-stop" special="cancel"
|
|
|
|
string="Cancel" />
|
|
|
|
<button name="get_in" string="Put Money"
|
|
|
|
colspan="1" type="object" icon="gtk-apply" />
|
|
|
|
</group>
|
2010-03-15 05:52:08 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_box_entries" model="ir.actions.act_window">
|
2011-09-25 21:08:44 +00:00
|
|
|
<field name="name">Put Money In</field>
|
2010-03-15 05:52:08 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">pos.box.entries</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
2010-06-22 11:14:10 +00:00
|
|
|
<field name="target">new</field>
|
2010-03-15 05:52:08 +00:00
|
|
|
</record>
|
2010-06-22 11:14:10 +00:00
|
|
|
|
2011-09-25 19:02:00 +00:00
|
|
|
</data>
|
2010-06-22 11:14:10 +00:00
|
|
|
</openerp>
|