51 lines
1.7 KiB
XML
51 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<!-- Box Entries -->
|
|
|
|
<record id="view_box_entries" model="ir.ui.view">
|
|
<field name="name">Box Entries</field>
|
|
<field name="model">pos.box.entries</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Put Money" version="7.0">
|
|
<separator string="Fill in this form if you put money in the cash register:"/>
|
|
<group col="4">
|
|
<field name="journal_id"/>
|
|
<field name="product_id"/>
|
|
<field name="amount"/>
|
|
<field name="session_id"/>
|
|
<field name="name"/>
|
|
<field name="user_id" invisible="1"/>
|
|
</group>
|
|
<footer>
|
|
<button name="get_in" string="Put Money" class="oe_highlight"
|
|
type="object"/>
|
|
or
|
|
<button class="oe_link" special="cancel"
|
|
string="Cancel"/>
|
|
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<act_window name="Put Money In"
|
|
res_model="pos.box.entries"
|
|
src_model="account.bank.statement"
|
|
view_mode="form"
|
|
target="new"
|
|
key2="client_action_multi"
|
|
id="action_box_entries"/>
|
|
|
|
<act_window name="Put Money In"
|
|
res_model="pos.box.entries"
|
|
src_model="pos.session"
|
|
view_mode="form"
|
|
target="new"
|
|
key2="client_action_multi"
|
|
id="action_pos_session_box_entries"/>
|
|
|
|
|
|
</data>
|
|
</openerp>
|