Initial commit
This commit is contained in:
56
fusion_claims/wizard/odsp_submit_to_odsp_wizard_views.xml
Normal file
56
fusion_claims/wizard/odsp_submit_to_odsp_wizard_views.xml
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright 2024-2026 Nexa Systems Inc.
|
||||
License OPL-1 (Odoo Proprietary License v1.0)
|
||||
-->
|
||||
<odoo>
|
||||
<record id="view_submit_to_odsp_wizard_form" model="ir.ui.view">
|
||||
<field name="name">fusion_claims.submit.to.odsp.wizard.form</field>
|
||||
<field name="model">fusion_claims.submit.to.odsp.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Submit to ODSP">
|
||||
<sheet>
|
||||
<div class="alert alert-info" role="alert">
|
||||
<i class="fa fa-info-circle"/> This will generate the quotation PDF and send it
|
||||
along with the authorizer letter to the selected ODSP office.
|
||||
</div>
|
||||
<group string="Submission Details">
|
||||
<group>
|
||||
<field name="sale_order_id" invisible="1"/>
|
||||
<field name="client_name"/>
|
||||
<field name="member_id"/>
|
||||
<field name="order_name"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="odsp_office_id"/>
|
||||
</group>
|
||||
</group>
|
||||
<group string="Authorizer Letter">
|
||||
<field name="authorizer_letter" filename="authorizer_letter_filename" widget="binary"/>
|
||||
<field name="authorizer_letter_filename" invisible="1"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="email_body_notes" placeholder="e.g. URGENT: Client needs equipment by March 1st..."
|
||||
help="These notes appear at the top of the email body."/>
|
||||
</group>
|
||||
</sheet>
|
||||
<footer>
|
||||
<button name="action_send_email" type="object"
|
||||
string="Send Email" class="btn-primary" icon="fa-envelope"/>
|
||||
<button name="action_send_fax" type="object"
|
||||
string="Send Fax" class="btn-primary" icon="fa-fax"/>
|
||||
<button name="action_send_fax_and_email" type="object"
|
||||
string="Send Fax & Email" class="btn-primary" icon="fa-paper-plane"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_submit_to_odsp_wizard" model="ir.actions.act_window">
|
||||
<field name="name">Submit to ODSP</field>
|
||||
<field name="res_model">fusion_claims.submit.to.odsp.wizard</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user