2
0
account-financial-tools/account_cash_deposit/wizards/account_cash_order_reception_view.xml
Alexis de Lattre 6b8d47f5c0 Add module account_cash_deposit
This module manages cash deposits (cash to bank) and cash orders (bank to cash)
2022-12-12 18:13:15 +01:00

43 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2022 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="account_cash_order_reception_form" model="ir.ui.view">
<field name="model">account.cash.order.reception</field>
<field name="arch" type="xml">
<form>
<group name="main">
<field name="order_id" />
<field
name="date"
options="{'datepicker': {'warn_future': true}}"
/>
<field name="total_amount" />
<field name="currency_id" invisible="1" />
</group>
<footer>
<button
name="run"
type="object"
string="Confirm Cash Reception"
class="btn-primary"
/>
<button special="cancel" string="Cancel" />
</footer>
</form>
</field>
</record>
<record id="account_cash_order_reception_action" model="ir.actions.act_window">
<field name="name">Cash Order Reception</field>
<field name="res_model">account.cash.order.reception</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</odoo>