This commit is contained in:
gsinghpal
2026-02-25 09:40:41 -05:00
parent 0e1aebe60b
commit e71bc503f9
69 changed files with 7537 additions and 82 deletions

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="deposit_deduction_wizard_form" model="ir.ui.view">
<field name="name">deposit.deduction.wizard.form</field>
<field name="model">deposit.deduction.wizard</field>
<field name="arch" type="xml">
<form string="Deduct Security Deposit">
<group>
<group>
<field name="order_id"/>
<field name="deposit_total" widget="monetary"/>
</group>
<group>
<field name="deduction_amount" widget="monetary"/>
<field name="remaining_preview" widget="monetary"/>
<field name="overage_preview" widget="monetary"
decoration-danger="overage_preview > 0"/>
</group>
</group>
<group>
<field name="reason" placeholder="Describe the damages or reason for deduction..."/>
</group>
<footer>
<button name="action_confirm_deduction"
string="Confirm Deduction"
type="object"
class="btn-primary"
icon="fa-check"/>
<button string="Cancel" class="btn-secondary" special="cancel"/>
</footer>
</form>
</field>
</record>
</odoo>