summaryrefslogtreecommitdiff
path: root/addons/account/wizard/pos_box.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/account/wizard/pos_box.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/account/wizard/pos_box.xml')
-rw-r--r--addons/account/wizard/pos_box.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/addons/account/wizard/pos_box.xml b/addons/account/wizard/pos_box.xml
new file mode 100644
index 00000000..975b7fd5
--- /dev/null
+++ b/addons/account/wizard/pos_box.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<odoo>
+ <data>
+ <record model="ir.ui.view" id="cash_box_out_form">
+ <field name="name">cash_box_out</field>
+ <field name="model">cash.box.out</field>
+ <field name="arch" type="xml">
+ <form string="Take Money In/Out">
+ <separator string="Describe why you put/take money from the cash register:"/>
+ <group>
+ <field name="name" class="oe_inline"/>
+ <field name="amount" class="oe_inline"/>
+ </group>
+
+ <footer>
+ <button name="run" string="Take Money In/Out" type="object" class="btn-primary"/>
+ <button class="btn-secondary" special="cancel" string="Cancel" />
+ </footer>
+ </form>
+ </field>
+ </record>
+
+ <record id="action_cash_box_out" model="ir.actions.act_window">
+ <field name="name">Take Money In/Out</field>
+ <field name="res_model">cash.box.out</field>
+ <field name="view_mode">form</field>
+ <field name="target">new</field>
+ </record>
+ </data>
+</odoo>