Initial commit
This commit is contained in:
63
fusion_payroll/views/payroll_cheque_print_wizard_views.xml
Normal file
63
fusion_payroll/views/payroll_cheque_print_wizard_views.xml
Normal file
@@ -0,0 +1,63 @@
|
||||
<?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 -->
|
||||
|
||||
<!-- ============================================================ -->
|
||||
<!-- ADD CHEQUE MENU ITEMS -->
|
||||
<!-- ============================================================ -->
|
||||
|
||||
<!-- Cheques menu under Fusion Payroll -->
|
||||
<menuitem id="menu_fusion_cheques"
|
||||
name="Cheques"
|
||||
parent="menu_fusion_payroll_root"
|
||||
action="action_payroll_cheque"
|
||||
sequence="25"/>
|
||||
|
||||
<!-- Removed duplicate menu - use cheque_layout_settings_views.xml instead -->
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user