mirror of
https://bitbucket.org/presik/trytonpsk-staff_payroll_co.git
synced 2023-12-14 06:42:56 +01:00
326 lines
16 KiB
XML
326 lines
16 KiB
XML
<?xml version="1.0"?>
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
this repository contains the full copyright notices and license terms. -->
|
|
<tryton>
|
|
<data>
|
|
<record model="ir.action.report" id="report_payroll_global">
|
|
<field name="name">Payroll Global Report</field>
|
|
<field name="model"></field>
|
|
<field name="report_name">staff.payroll.global_report</field>
|
|
<field name="report">staff_payroll_co/global_payroll.ods</field>
|
|
<field name="template_extension">ods</field>
|
|
<field name="translatable">False</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="payroll_global_start_view_form">
|
|
<field name="model">staff.payroll_global.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">payroll_global_start_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="wizard_print_payroll_global">
|
|
<field name="name">Payroll Global Wizard</field>
|
|
<field name="wiz_name">staff.payroll.global</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_reporting" id="menu_payroll_global"
|
|
action="wizard_print_payroll_global"/>
|
|
|
|
<record model="ir.ui.view" id="payroll_support_dispersion_start_view_form">
|
|
<field name="model">staff.payroll_support_dispersion.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">payroll_support_dispersion_start_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="wizard_dispersion_payroll_support">
|
|
<field name="name">Payroll Support Dispersion Wizard</field>
|
|
<field name="wiz_name">staff.payroll.support_dispersion</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_reporting" id="menu_dispersion_payroll_support"
|
|
action="wizard_dispersion_payroll_support"/>
|
|
|
|
<record model="ir.action.report" id="report_payroll_payment">
|
|
<field name="name">Payroll Payment Report</field>
|
|
<field name="model"></field>
|
|
<field name="report_name">staff.payroll.payment_report</field>
|
|
<field name="report">staff_payroll_co/payment_payroll.ods</field>
|
|
<field name="template_extension">ods</field>
|
|
<field name="translatable">False</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="payroll_payment_start_view_form">
|
|
<field name="model">staff.payroll_payment.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">payroll_payment_start_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="wizard_print_payroll_payment">
|
|
<field name="name">Payroll Payment Wizard</field>
|
|
<field name="wiz_name">staff.payroll.payment</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_reporting" id="menu_payroll_payment"
|
|
action="wizard_print_payroll_payment"/>
|
|
|
|
<record model="ir.action.report" id="report_payroll_paycheck">
|
|
<field name="name">Paycheck Report</field>
|
|
<field name="model"></field>
|
|
<field name="report_name">staff.payroll.paycheck_report</field>
|
|
<field name="report">staff_payroll_co/paycheck_payment.ods</field>
|
|
<field name="template_extension">ods</field>
|
|
<field name="translatable">False</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="payroll_paycheck_start_view_form">
|
|
<field name="model">staff.payroll_paycheck.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">payroll_paycheck_start_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="wizard_print_payroll_paycheck">
|
|
<field name="name">Payroll Paycheck Wizard</field>
|
|
<field name="wiz_name">staff.payroll.paycheck</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_reporting" id="menu_payroll_paycheck"
|
|
action="wizard_print_payroll_paycheck"/>
|
|
|
|
<record model="ir.action.report" id="report_payroll_sheet">
|
|
<field name="name">Payroll Sheet Report</field>
|
|
<field name="model"></field>
|
|
<field name="report_name">staff.payroll.sheet_report</field>
|
|
<field name="report">staff_payroll_co/payroll_sheet.ods</field>
|
|
<field name="template_extension">ods</field>
|
|
<field name="translatable">False</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="payroll_sheet_start_view_form">
|
|
<field name="model">staff.payroll.sheet.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">payroll_sheet_start_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="wizard_print_payroll_sheet">
|
|
<field name="name">Payroll Sheet</field>
|
|
<field name="wiz_name">staff.payroll.sheet</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_reporting" id="menu_payroll_sheet"
|
|
action="wizard_print_payroll_sheet"/>
|
|
|
|
<record model="ir.ui.view" id="payroll_group_start_view_form">
|
|
<field name="model">staff.payroll_group.start</field>
|
|
<field name="inherit" ref="staff_payroll.payroll_group_start_view_form"/>
|
|
<field name="name">payroll_create_group_form</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="payroll_view_form">
|
|
<field name="model">staff.payroll</field>
|
|
<field name="inherit" ref="staff_payroll.payroll_view_form"/>
|
|
<field name="name">payroll_form</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="payroll_by_period_view_graph">
|
|
<field name="model">staff_payroll_co.payroll_by_period_dynamic</field>
|
|
<field name="type">graph</field>
|
|
<field name="name">payroll_by_period_graph</field>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window" id="act_payroll_by_period_form2">
|
|
<field name="name">Payroll by Period</field>
|
|
<field name="res_model">staff_payroll_co.payroll_by_period_dynamic</field>
|
|
</record>
|
|
|
|
<record model="ir.action.act_window.view"
|
|
id="act_payroll_by_period_form2_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="payroll_by_period_view_graph"/>
|
|
<field name="act_window" ref="act_payroll_by_period_form2"/>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="payroll_by_period_board">
|
|
<field name="type">board</field>
|
|
<field name="model"></field>
|
|
<field name="name">payroll_by_period_board</field>
|
|
</record>
|
|
<record model="ir.action.act_window" id="act_payroll_by_period_board">
|
|
<field name="name">Payroll by Period</field>
|
|
</record>
|
|
<record model="ir.action.act_window.view"
|
|
id="act_payroll_by_period_board_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="payroll_by_period_board"/>
|
|
<field name="act_window" ref="act_payroll_by_period_board"/>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="payroll_view_list">
|
|
<field name="model">staff.payroll</field>
|
|
<field name="type">tree</field>
|
|
<field name="priority" eval="20"/>
|
|
<field name="name">payroll_list</field>
|
|
</record>
|
|
<record model="ir.action.act_window" id="act_payroll_by_period">
|
|
<field name="name">Payroll by Period</field>
|
|
<field name="res_model">staff.payroll</field>
|
|
<field name="context"
|
|
eval="{'period': [Eval('active_id')]}" pyson="1"/>
|
|
<field name="domain"
|
|
eval="[
|
|
('period','=', Eval('active_id')),
|
|
('state','in', ['processed', 'posted']),
|
|
]"
|
|
pyson="1"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_payroll_by_period_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="payroll_view_list"/>
|
|
<field name="act_window" ref="act_payroll_by_period"/>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_payroll_by_period_view2">
|
|
<field name="sequence" eval="20"/>
|
|
<field name="view" ref="staff_payroll.payroll_view_form"/>
|
|
<field name="act_window" ref="act_payroll_by_period"/>
|
|
</record>
|
|
<record model="ir.action.keyword" id="act_payroll_by_period_keyword1">
|
|
<field name="keyword">tree_open</field>
|
|
<field name="model">staff_payroll_co.payroll_by_period_dynamic,-1</field>
|
|
<field name="action" ref="act_payroll_by_period"/>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="open_payroll_by_period_start_view_form">
|
|
<field name="model">staff_payroll_co.open_payroll_by_period.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">open_payroll_by_period_start_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="wizard_open_payroll_by_period">
|
|
<field name="name">Open Payroll By Period</field>
|
|
<field name="wiz_name">staff_payroll_co.open_payroll_by_period</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="open_payroll_by_period_view_tree">
|
|
<field name="model">staff_payroll_co.payroll_by_period_dynamic</field>
|
|
<field name="type">tree</field>
|
|
<field name="name">open_payroll_by_period_tree</field>
|
|
</record>
|
|
<record model="ir.action.act_window" id="act_payroll_by_period_tree">
|
|
<field name="name">Payroll by Period</field>
|
|
<field name="res_model">staff_payroll_co.payroll_by_period_dynamic</field>
|
|
<field name="domain"></field>
|
|
</record>
|
|
<record model="ir.action.act_window.view" id="act_payroll_by_period_tree_view1">
|
|
<field name="sequence" eval="10"/>
|
|
<field name="view" ref="open_payroll_by_period_view_tree"/>
|
|
<field name="act_window" ref="act_payroll_by_period_tree"/>
|
|
</record>
|
|
<menuitem parent="staff.menu_reporting" action="wizard_open_payroll_by_period"
|
|
id="open_payroll_by_period" icon="tryton-graph"/>
|
|
|
|
<record model="ir.ui.view" id="fix_payroll_start_view_form">
|
|
<field name="model">staff.fix_payroll.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">fix_payroll_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="wizard_fix_payroll">
|
|
<field name="name">Fix Payroll</field>
|
|
<field name="wiz_name">staff.fix_payroll</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_staff" id="menu_fix_payroll"
|
|
sequence="10" action="wizard_fix_payroll"/>
|
|
|
|
<record model="ir.ui.view" id="payroll_exo2276_start_view_form">
|
|
<field name="model">staff.payroll_exo2276.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">exo_2276_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="wizard_exo2276">
|
|
<field name="name">Report Exo2276</field>
|
|
<field name="wiz_name">staff.payroll_exo2276</field>
|
|
</record>
|
|
<record model="ir.action.report" id="report_exo_2276">
|
|
<field name="name">Exo 2276 Report</field>
|
|
<field name="model"></field>
|
|
<field name="report_name">staff.payroll_exo2276.report</field>
|
|
<field name="report">staff_payroll_co/report_2276.ods</field>
|
|
<field name="template_extension">ods</field>
|
|
<field name="translatable">False</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_staff" id="menu_exo2276"
|
|
sequence="66" action="wizard_exo2276"/>
|
|
|
|
<record model="ir.ui.view" id="income_withholdings_start_form">
|
|
<field name="model">staff.payroll.income_withholdings.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">income_withholdings_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="income_withholdings_wizard">
|
|
<field name="name">Income Withholdings Report</field>
|
|
<field name="wiz_name">staff.payroll.income_withholdings</field>
|
|
</record>
|
|
<record model="ir.action.report" id="income_withholdings_report">
|
|
<field name="name">Income Withholdings Report</field>
|
|
<field name="model"></field>
|
|
<field name="report_name">staff.payroll.income_withholdings_report</field>
|
|
<field name="report">staff_payroll_co/income_withholdings.ods</field>
|
|
<field name="template_extension">ods</field>
|
|
<field name="translatable">False</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_staff" id="menu_income_withholding_report"
|
|
sequence="67" action="income_withholdings_wizard"/>
|
|
|
|
<record model="ir.action.report" id="payroll_export_moves_report">
|
|
<field name="name">Export Move Report</field>
|
|
<field name="model"></field>
|
|
<field name="report_name">staff_payroll.export_moves.report</field>
|
|
<field name="report">staff_payroll_co/export_moves.ods</field>
|
|
<field name="extension">csv</field>
|
|
<!-- <field name="template_extension">ods</field> -->
|
|
<field name="translatable">False</field>
|
|
</record>
|
|
<record model="ir.action.keyword" id="payroll_export_moves_keyword">
|
|
<field name="keyword">form_print</field>
|
|
<field name="model">staff.payroll,-1</field>
|
|
<field name="action" ref="payroll_export_moves_report"/>
|
|
</record>
|
|
|
|
<record model="ir.action.report" id="payroll_export_report">
|
|
<field name="name">Payroll Export Report</field>
|
|
<field name="model"></field>
|
|
<field name="report_name">staff.payroll.export_report</field>
|
|
<field name="report">staff_payroll_co/payroll_export_report.ods</field>
|
|
<field name="template_extension">ods</field>
|
|
<field name="translatable">False</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="payroll_export_start_view_form">
|
|
<field name="model">staff.payroll.export.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">payroll_export_start_view_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="payroll_export_wizard">
|
|
<field name="name">Payroll Export Wizard</field>
|
|
<field name="wiz_name">staff.payroll.export</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_reporting" id="menu_payroll_export_wizard"
|
|
action="payroll_export_wizard"/>
|
|
|
|
<record model="ir.ui.view" id="payroll_view_tree">
|
|
<field name="model">staff.payroll</field>
|
|
<field name="inherit" ref="staff_payroll.payroll_view_tree"/>
|
|
<field name="name">payroll_tree</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="payroll_line_form">
|
|
<field name="model">staff.payroll.line</field>
|
|
<field name="inherit" ref="staff_payroll.payroll_line_view_form"/>
|
|
<field name="name">payroll_line_form</field>
|
|
</record>
|
|
|
|
<!-- <record model="ir.action.wizard" id="wizard_fix_payroll_account">
|
|
<field name="name">Fix Payroll Account</field>
|
|
<field name="wiz_name">staff.payroll.fix</field>
|
|
</record>
|
|
<record model="ir.action.keyword" id="act_fix_payroll_keyword1">
|
|
<field name="keyword">form_action</field>
|
|
<field name="model">staff.payroll,-1</field>
|
|
<field name="action" ref="wizard_fix_payroll_account"/>
|
|
</record> -->
|
|
|
|
<record model="ir.ui.view" id="payroll_multi_payment_start_view_form">
|
|
<field name="model">staff.payroll_multi_payment.start</field>
|
|
<field name="type">form</field>
|
|
<field name="name">payroll_multi_payment_start_form</field>
|
|
</record>
|
|
<record model="ir.action.wizard" id="payroll_multi_payment_wizard">
|
|
<field name="name">Create Payroll MultiPayment</field>
|
|
<field name="wiz_name">staff.payroll_multi_payment</field>
|
|
</record>
|
|
<menuitem parent="staff.menu_staff" id="menu_payroll_multi_payment_wizard"
|
|
action="payroll_multi_payment_wizard"/>
|
|
|
|
</data>
|
|
</tryton>
|