Initial commit
This commit is contained in:
61
fusion_claims/wizard/ready_to_bill_wizard_views.xml
Normal file
61
fusion_claims/wizard/ready_to_bill_wizard_views.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<record id="view_ready_to_bill_wizard_form" model="ir.ui.view">
|
||||
<field name="name">fusion_claims.ready.to.bill.wizard.form</field>
|
||||
<field name="model">fusion_claims.ready.to.bill.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Ready to Bill">
|
||||
<sheet>
|
||||
<h2>Mark as Ready to Bill</h2>
|
||||
|
||||
<!-- Instructions -->
|
||||
<div class="alert alert-info" role="alert">
|
||||
<strong><i class="fa fa-info-circle"/> Instructions:</strong>
|
||||
<p class="mb-0">
|
||||
Upload the Proof of Delivery document and confirm the delivery date
|
||||
to mark this order as ready for billing.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Existing Data Info -->
|
||||
<div class="alert alert-secondary" role="alert" invisible="not has_existing_pod">
|
||||
<i class="fa fa-file-pdf-o"/>
|
||||
<strong>Existing POD:</strong> <field name="existing_pod_filename" nolabel="1" class="d-inline"/>
|
||||
<span class="text-muted ms-2">(will be replaced)</span>
|
||||
</div>
|
||||
|
||||
<field name="has_existing_pod" invisible="1"/>
|
||||
<field name="has_existing_date" invisible="1"/>
|
||||
<field name="existing_pod_filename" invisible="1"/>
|
||||
<field name="existing_delivery_date" invisible="1"/>
|
||||
|
||||
<group>
|
||||
<group string="Delivery Information">
|
||||
<field name="sale_order_id" readonly="1"/>
|
||||
<field name="delivery_date" required="1"/>
|
||||
</group>
|
||||
<group string="Proof of Delivery">
|
||||
<field name="proof_of_delivery"
|
||||
filename="proof_of_delivery_filename"
|
||||
widget="binary"
|
||||
required="1"/>
|
||||
<field name="proof_of_delivery_filename" invisible="1"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<group string="Notes (Optional)">
|
||||
<field name="notes" nolabel="1" colspan="2"
|
||||
placeholder="Any additional notes about the delivery..."/>
|
||||
</group>
|
||||
</sheet>
|
||||
|
||||
<footer>
|
||||
<button name="action_mark_ready_to_bill" type="object"
|
||||
string="Mark Ready to Bill" class="btn-primary"
|
||||
icon="fa-check"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user