[ADD] l10n_be_hr_payroll_account: a module that contains some accounting data for the belgian payroll most basic rules. This is a first throw, to show by an example how men are supposed to configure their payroll rules in order to create accounting entries directly in OpenERP.
bzr revid: qdp-launchpad@openerp.com-20120620082238-b82j46y86ut3kpay
This commit is contained in:
parent
c9c27a2432
commit
6c27e77b4a
|
@ -2,80 +2,6 @@
|
|||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="hr_payroll.hr_salary_rule_houserentallowance1" model="hr.salary.rule">
|
||||
<field name="account_debit" ref="account.a_salary_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_payroll.hr_salary_rule_convanceallowance1" model="hr.salary.rule">
|
||||
<field name="account_debit" ref="account.a_salary_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_payroll.hr_salary_rule_professionaltax1" model="hr.salary.rule">
|
||||
<field name="account_debit" ref="account.a_salary_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_payroll.hr_salary_rule_providentfund1" model="hr.salary.rule">
|
||||
<field name="account_debit" ref="account.a_salary_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_payroll.hr_salary_rule_meal_voucher" model="hr.salary.rule">
|
||||
<field name="account_debit" ref="account.a_salary_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_payroll.hr_salary_rule_ca_paolino" model="hr.salary.rule">
|
||||
<field name="account_debit" ref="account.a_salary_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_payroll.hr_rule_basic" model="hr.salary.rule">
|
||||
<field name="account_debit" ref="account.a_salary_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_payroll.hr_rule_taxable" model="hr.salary.rule">
|
||||
<field name="account_debit" ref="account.a_salary_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_payroll.hr_rule_net" model="hr.salary.rule">
|
||||
<field name="account_debit" ref="account.a_salary_expense"/>
|
||||
</record>
|
||||
|
||||
<!-- Payslip -->
|
||||
<!-- <record id="hr_payroll.hr_payslip_salaryslipofbonamyforjune0" model="hr.payslip">
|
||||
<field name="journal_id" ref="account.expenses_journal"/>
|
||||
<field name="bank_journal_id" ref="account.bank_journal"/>
|
||||
</record>-->
|
||||
|
||||
<!-- Assigned Default Account in Different Demo Employees -->
|
||||
|
||||
<!-- <record id="hr.employee" model="hr.employee">
|
||||
<field name="property_bank_account" ref="account.bnk"/>
|
||||
<field name="salary_account" ref="account.a_salary_expense"/>
|
||||
<field name="employee_account" ref="account.a_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr.employee_fp" model="hr.employee">
|
||||
<field name="property_bank_account" ref="account.bnk"/>
|
||||
<field name="salary_account" ref="account.a_salary_expense"/>
|
||||
<field name="employee_account" ref="account.a_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr.employee_qdp" model="hr.employee">
|
||||
<field name="property_bank_account" ref="account.bnk"/>
|
||||
<field name="salary_account" ref="account.a_salary_expense"/>
|
||||
<field name="employee_account" ref="account.a_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr.employee_al" model="hr.employee">
|
||||
<field name="property_bank_account" ref="account.bnk"/>
|
||||
<field name="salary_account" ref="account.a_salary_expense"/>
|
||||
<field name="employee_account" ref="account.a_expense"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_payroll.hr_employee_bonamy0" model="hr.employee">
|
||||
<field name="property_bank_account" ref="account.bnk"/>
|
||||
<field name="salary_account" ref="account.a_salary_expense"/>
|
||||
<field name="employee_account" ref="account.a_expense"/>
|
||||
</record>-->
|
||||
|
||||
<record id="bnk" model="account.account">
|
||||
<field name="code">X110041</field>
|
||||
<field name="name">Bank Current Account</field>
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2011 OpenERP SA (<http://openerp.com>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -0,0 +1,41 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2011 OpenERP SA (<http://openerp.com>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
{
|
||||
'name': 'Belgium - Payroll',
|
||||
'category': 'Localization',
|
||||
'author': 'OpenERP SA',
|
||||
'depends': ['l10n_be_hr_payroll', 'hr_payroll_account', 'l10n_be'],
|
||||
'version': '1.0',
|
||||
'description': """
|
||||
Accounting Data for Belgian Payroll Rules
|
||||
""",
|
||||
|
||||
'auto_install': True,
|
||||
'demo': [
|
||||
],
|
||||
'data':[
|
||||
'l10n_be_hr_payroll_account_data.xml',
|
||||
'data/hr.salary.rule.csv',
|
||||
],
|
||||
'installable': True
|
||||
}
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<!-- HR SALARY RULES-->
|
||||
<record id="l10n_be_hr_payroll.hr_payroll_rules_onss_rule" model="hr.salary.rule">
|
||||
<field name="account_debit" search="[('code', 'like', '4540%')]"/>
|
||||
</record>
|
||||
<record id="hr_payroll.hr_rule_basic" model="hr.salary.rule">
|
||||
<field name="account_debit" search="[('code', 'like', '6202%')]"/>
|
||||
</record>
|
||||
<record id="hr_payroll.hr_rule_net" model="hr.salary.rule">
|
||||
<field name="account_credit" search="[('code', 'like', '4552%')]"/>
|
||||
</record>
|
||||
<record id="l10n_be_hr_payroll.hr_payroll_rules_ch_worker" model="hr.salary.rule">
|
||||
<field name="account_debit" search="[('code', 'like', '4597%')]"/>
|
||||
</record>
|
||||
<record id="l10n_be_hr_payroll.hr_payroll_rules_suppl_net" model="hr.salary.rule">
|
||||
<field name="account_credit" search="[('code', 'like', '4552%')]"/>
|
||||
</record>
|
||||
<record id="l10n_be_hr_payroll.hr_payroll_rules_retained_net" model="hr.salary.rule">
|
||||
<field name="account_credit" search="[('code', 'like', '4552%')]"/>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
Binary file not shown.
After Width: | Height: | Size: 599 B |
Loading…
Reference in New Issue