Romania - Payroll Application

l10n_ro_hr_payroll
REPOSITORY
REPOSITORYOCA/l10n-romania
GIT
GIThttps://github.com/OCA/l10n-romania.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-romania/tree/11.0/l10n_ro_hr_payroll
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Forest and Biomass Romania, OdooERP România S.R.L.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Forest and Biomass Romania, OdooERP România S.R.L.
COMMITTERS
COMMITTERSGitHub, oca-travis, Mihai Fekete
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-romania
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_holidays_public
    - hr_employee_firstname
OCA/l10n-romania:
    - l10n_ro_hr_contract
    - l10n_ro_hr_medical_holidays
    - l10n_ro_hr
OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - hr_payroll
    - hr_contract
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - hr_holidays
    - calendar
    - decimal_precision
    - project_timesheet_holidays
    - hr_timesheet
    - project
    - product
    - analytic
    - portal
    - http_routing
    - web_planner
    - hr_attendance
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-stdnum
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
edit_holiday_amounts_form2 hr.holidays.amounts.form hr.holidays group 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 page Inherits hr.view_employee_form
view_hr_payslip_form hr.payslip.form hr.payslip field 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
Models touched (11)

New fields (1)
  • income_ids One2many → hr.employee.income
    args: 'hr.employee.income', 'employee_id', 'Payslip History'
Public methods (0)

No public methods.

New fields (8)
  • date_from Date
    required=True args: 'Date From'
  • date_to Date
    required=True args: 'Date To'
  • employee_id Many2one → hr.employee
    index=True required=True args: 'hr.employee', 'Employee'
  • gross_amount Float
    required=True args: 'Gross Income'
  • net_amount Float
    required=True args: 'Net Salary'
  • number_of_days Integer
    required=True args: 'Number of Days'
  • number_of_hours Integer
    required=True args: 'Number of Hours'
  • payslip_id Many2one → hr.payslip
    args: 'hr.payslip', 'Payslip'
Public methods (0)

No public methods.

New fields (4)
  • budget_amount Float
    compute='_compute_holiday_amounts' store=True args: 'Amount by Social Security'
  • daily_base Float
    compute='_compute_holiday_amounts' store=True args: 'Daily Base'
  • employer_amount Float
    compute='_compute_holiday_amounts' store=True args: 'Amount by Employer'
  • total_amount Float
    compute='_compute_holiday_amounts' store=True args: 'Total Amount'
Public methods (0)

No public methods.

New fields (5)
  • company_id Many2one → res.company
    default=<expr> args: 'res.company', 'Company'
  • date_from Date
    default=time.strftime('%Y-%m-01') required=True args: 'Date From'
  • date_to Date
    required=True args: 'Date To'
  • line_ids One2many → hr.meal.vouchers.line
    args: 'hr.meal.vouchers.line', 'meal_voucher_id'
  • name Char
    compute='_compute_name' readonly=True string='Name'
Public methods (2)
  • build_lines(self)
    @api.multi
  • get_contracts(self)

New fields (7)
  • contract_id Many2one → hr.contract
    index=True args: 'hr.contract', 'Contract'
  • employee_id Many2one → hr.employee
    args: 'hr.employee', 'Employee'
  • meal_voucher_id Many2one → hr.meal.vouchers
    args: 'hr.meal.vouchers', 'Meal Voucher Run'
  • serial_from Char
    args: 'Serial # from'
  • serial_to Char
    args: 'Serial # to'
  • voucher_value Float
    args: 'Voucher Value'
  • vouchers_no Integer
    args: '# of Vouchers'
Public methods (0)

No public methods.

New fields (1)
  • working_days Integer
    compute='_compute_working_days' store=True args: '# Working Days'
Public methods (6)
  • 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_amount Float
    args: 'Amount by Social Security'
  • budget_days Integer
    args: '# Days by Social Security'
  • daily_base Float
    args: 'Daily Base'
  • employer_amount Float
    args: 'Amount by Employer'
  • employer_days Integer
    args: '# Days by Employer'
  • total_amount Float
    args: 'Total Amount'
Public methods (0)

No public methods.

New fields (5)
  • ceiling_min_wage Integer
    required=True args: 'Ceiling for 6 month income'
  • date Date
    index=True required=True args: 'Month/Year'
  • med_wage Integer
    required=True args: 'Medium Wage per economy'
  • min_wage Integer
    required=True args: 'Minimum Wage per economy'
  • working_days Integer
    required=True args: 'Number of Working(ed) Days'
Public methods (3)
  • 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_ids One2many → res.company.meal.voucher
    string='Meal Voucher Values' args: 'res.company.meal.voucher', 'company_id'
Public methods (4)
  • 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_id Many2one → res.company
    default=<expr> args: 'res.company', 'Company'
  • date_from Date
    default=time.strftime('%Y-%m-01') help='Date should be start day of month.' required=True args: 'Date From'
  • value Float
    args: 'Meal Voucher Value'
Public methods (0)

No public methods.