Romania - Payroll Application
l10n_ro_hr_payroll · OCA/l10n-romania
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 69 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.15 MB
Module directory on disk
Code analysis
8 migration notes
11 models
11 views
0 HTTP endpoints
Migration considerations
HREmployee— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceHRHolidays— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceHRMealVouchers— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceHrPayslip— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceHrPayslipEmployees— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceedit_holiday_amounts_form2— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceres_company_hr_meal_vouchers_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (3 occurrences in this file) migration-view-tree-tag · sourceview_wage_history_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 11
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_holiday_amounts_form2 |
hr.holidays.amounts.form | hr.holidays | form | Inherits l10n_ro_hr_medical_holidays.edit_holiday_medical_form |
hr_meal_vouchers_form |
hr.meal.vouchers.form | hr.meal.vouchers | form | New |
hr_meal_vouchers_tree |
hr.meal.vouchers.tree | hr.meal.vouchers | tree | New |
report_meal_vouchers_template |
report_meal_vouchers_template | ir.ui.view | qweb | New |
res_company_hr_meal_vouchers_form |
res.company.meal.vouchers.form | res.company.meal.voucher | form | New |
res_company_hr_meal_vouchers_tree |
res.company.meal.vouchers.tree | res.company.meal.voucher | tree | New |
view_employee_form_romania |
view.employee.form.romania | hr.employee | form | Inherits hr.view_employee_form |
view_hr_payslip_form |
hr.payslip.form | hr.payslip | form | Inherits hr_payroll.view_hr_payslip_form |
view_meal_vouchers_line_form |
hr.meal.vouchers.line.form | hr.meal.vouchers.line | form | New |
view_meal_vouchers_line_tree |
hr.meal.vouchers.line.tree | hr.meal.vouchers.line | tree | New |
view_wage_history_tree |
hr.wage.history.tree | hr.wage.history | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 11
New fields (1)
-
income_idsOne2many → hr.employee.incomeargs: 'hr.employee.income', 'employee_id', 'Payslip History'
No public methods.
New fields (8)
-
date_fromDaterequired=True args: 'Date From' -
date_toDaterequired=True args: 'Date To' -
employee_idMany2one → hr.employeeindex=Truerequired=True args: 'hr.employee', 'Employee' -
gross_amountFloatrequired=True args: 'Gross Income' -
net_amountFloatrequired=True args: 'Net Salary' -
number_of_daysIntegerrequired=True args: 'Number of Days' -
number_of_hoursIntegerrequired=True args: 'Number of Hours' -
payslip_idMany2one → hr.payslipargs: 'hr.payslip', 'Payslip'
No public methods.
New fields (4)
-
budget_amountFloatcompute='_compute_holiday_amounts'store=True args: 'Amount by Social Security' -
daily_baseFloatcompute='_compute_holiday_amounts'store=True args: 'Daily Base' -
employer_amountFloatcompute='_compute_holiday_amounts'store=True args: 'Amount by Employer' -
total_amountFloatcompute='_compute_holiday_amounts'store=True args: 'Total Amount'
No public methods.
New fields (5)
-
company_idMany2one → res.companydefault=<expr> args: 'res.company', 'Company' -
date_fromDatedefault=time.strftime('%Y-%m-01')required=True args: 'Date From' -
date_toDaterequired=True args: 'Date To' -
line_idsOne2many → hr.meal.vouchers.lineargs: 'hr.meal.vouchers.line', 'meal_voucher_id' -
nameCharcompute='_compute_name'readonly=Truestring='Name'
-
build_lines(self)@api.multi -
get_contracts(self)
New fields (7)
-
contract_idMany2one → hr.contractindex=True args: 'hr.contract', 'Contract' -
employee_idMany2one → hr.employeeargs: 'hr.employee', 'Employee' -
meal_voucher_idMany2one → hr.meal.vouchersargs: 'hr.meal.vouchers', 'Meal Voucher Run' -
serial_fromCharargs: 'Serial # from' -
serial_toCharargs: 'Serial # to' -
voucher_valueFloatargs: 'Voucher Value' -
vouchers_noIntegerargs: '# of Vouchers'
No public methods.
New fields (1)
-
working_daysIntegercompute='_compute_working_days'store=True args: '# Working Days'
-
action_payslip_done(self) -
change_in_hour(self, hour_from, hour_to) -
get_contract(self, employee, date_from, date_to)@api.model@param employee: recordset of employee @param date_from: date field @param date_to: date field @return: returns the ids of all the contracts for the given employee that need to be considered for the given dates -
get_worked_day_lines(self, contracts, date_from, date_to)@api.model@param contract_ids: list of contract id @return: returns a list of dict containing the input that should be applied for the given contract between date_from and date_to -
night_hours(self, hour_from, hour_to) -
overtime(self, hour_from, hour_to, hfrom, hto)
New fields (0)
No new fields.
Public methods (1)-
compute_sheet(self)@api.multi
New fields (6)
-
budget_amountFloatargs: 'Amount by Social Security' -
budget_daysIntegerargs: '# Days by Social Security' -
daily_baseFloatargs: 'Daily Base' -
employer_amountFloatargs: 'Amount by Employer' -
employer_daysIntegerargs: '# Days by Employer' -
total_amountFloatargs: 'Total Amount'
No public methods.
New fields (5)
-
ceiling_min_wageIntegerrequired=True args: 'Ceiling for 6 month income' -
dateDateindex=Truerequired=True args: 'Month/Year' -
med_wageIntegerrequired=True args: 'Medium Wage per economy' -
min_wageIntegerrequired=True args: 'Minimum Wage per economy' -
working_daysIntegerrequired=True args: 'Number of Working(ed) Days'
-
get_ceiling(self, checkdate)@api.model -
get_medium_wage(self, checkdate)@api.model -
get_minimum_wage(self, checkdate)@api.model
New fields (1)
-
meal_voucher_idsOne2many → res.company.meal.voucherstring='Meal Voucher Values' args: 'res.company.meal.voucher', 'company_id'
-
get_ceiling(self, date=False)@api.model -
get_meal_voucher_value(self, date=False)@api.model -
get_medium_wage(self, date=False)@api.model -
get_minimum_wage(self, date=False)@api.model
New fields (3)
-
company_idMany2one → res.companydefault=<expr> args: 'res.company', 'Company' -
date_fromDatedefault=time.strftime('%Y-%m-01')help='Date should be start day of month.'required=True args: 'Date From' -
valueFloatargs: 'Meal Voucher Value'
No public methods.