Files
Odoo-Modules/fusion_payroll/views/payroll_cheque_print_wizard_views.xml
gsinghpal c30a61c93f changes
2026-04-07 22:03:20 -04:00

53 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- ============================================================ -->
<!-- CHEQUE PRINT WIZARD VIEW -->
<!-- ============================================================ -->
<record id="payroll_cheque_print_wizard_form" model="ir.ui.view">
<field name="name">payroll.cheque.print.wizard.form</field>
<field name="model">payroll.cheque.print.wizard</field>
<field name="arch" type="xml">
<form string="Print Payroll Cheques">
<div class="alert alert-success mb-3" role="alert">
<i class="fa fa-check-circle me-2"/>
<strong>Payroll Submitted Successfully!</strong>
</div>
<group>
<group>
<field name="payslip_run_id" readonly="1"/>
<field name="cheque_count" readonly="1"/>
</group>
<group>
<field name="starting_cheque_number"
placeholder="Auto-generate"/>
</group>
</group>
<group string="Cheques to Print">
<field name="cheque_preview" nolabel="1" colspan="2"/>
</group>
<field name="cheque_ids" invisible="1"/>
<footer>
<button name="action_print_all" type="object"
string="Print Cheques" class="btn-primary"
icon="fa-print"/>
<button name="action_view_cheques" type="object"
string="View Cheques" class="btn-secondary"/>
<button name="action_skip_print" type="object"
string="Skip Printing" class="btn-link"/>
</footer>
</form>
</field>
</record>
<!-- Note: Payslip batch view extension moved to hr_payslip_views.xml -->
<!-- The cheque buttons can be added once the correct view ID is identified -->
<!-- Menu items moved to fusion_payroll_menus.xml -->
</odoo>