| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-bulgaria |
| GIT | |
| GIT | https://github.com/OCA/l10n-bulgaria.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-bulgaria/tree/18.0/l10n_bg_hr_holidays |
| VERSION | |
| VERSION | 1.0.4 |
| CATEGORY | |
| CATEGORY | Human Resources/Time Off |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Rosen Vladimirov |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Rosen Vladimirov |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, rosenvladimirov |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-bulgaria |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:20 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - hr_contract - hr - base_setup - base - web - digest - bus - web_tour - html_editor - portal - web_editor - http_routing - auth_signup - resource - phone_validation - resource_mail - hr_holidays - calendar - l10n_bg - account - onboarding - product - uom - analytic - base_vat |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | # Bulgarian HR Holidays Extensions This module adds Bulgarian localization fields and behavior to time off types. ## Key Features - Internal leave type code for local reporting - Technical flag to control whether paid days can be specified - Paid days count for unpaid leave with payroll deduction support - Leave reason link for NSSI reporting |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_leave_type_view_form_paid_days |
hr.leave.type.form.paid.days | hr.leave.type | xpath | Inherits hr_holidays.edit_holiday_status_form |
hr_leave_type_view_tree_paid_days |
hr.leave.type.tree.paid.days | hr.leave.type | field | Inherits hr_holidays.view_holiday_status_normal_tree |
hr_leave_view_form_paid_days |
hr.leave.form.paid.days | hr.leave | xpath | Inherits hr_holidays.hr_leave_view_form |
hr_leave_view_list_paid_days |
hr.leave.list.paid.days | hr.leave | field | Inherits hr_holidays.view_holiday_list |
view_nssi_leave_reason_form |
nssi.leave.reason.form | nssi.leave.reason | form | New |
view_nssi_leave_reason_tree |
nssi.leave.reason.tree | nssi.leave.reason | list | New |
l10n_bg_effective_unpaid_days
Float
compute='_compute_l10n_bg_effective_unpaid_days'
digits=(16, 1)
help='Total unpaid days minus the paid days (for unpaid leave types only)'
store=True
string='Effective Unpaid Days'
l10n_bg_leave_reason_id
Many2one
related='holiday_status_id.l10n_bg_leave_reason_id'
store=True
l10n_bg_paid_days_unpaid_leave
Float
digits=(16, 1)
help='Number of days to be paid when the leave type is unpaid. These days will be deducted from the total unpaid days.'
related='holiday_status_id.l10n_bg_paid_days_unpaid_leave'
store=True
string='Paid Days'
l10n_bg_show_paid_days_fields
Boolean
compute='_compute_show_paid_days_fields'
help='Technical field to control visibility of paid days fields'
string='Show Paid Days Fields'
name_search(self, name='', args=None, operator='ilike', limit=100)
l10n_bg_allow_paid_days
Boolean
compute='_compute_l10n_bg_allow_paid_days'
help='Technical field to determine if paid days can be specified for this leave type'
store=True
string='Allow Paid Days'
l10n_bg_code
Char
copy=False
help='Internal code for the leave type (e.g., KT155, NSSI01)'
index=True
string='Code'
l10n_bg_leave_reason_id
Many2one → nssi.leave.reason
string='Leave Reason'
args: 'nssi.leave.reason'
l10n_bg_paid_days_unpaid_leave
Float
default=0.0
digits=(16, 1)
help='Number of days to be paid when the leave type is unpaid. These days will be deducted from the total unpaid days.'
string='Paid Days'
No public methods.
code
Char
index=True
required=True
size=2
name
Char
required=True
translate=True
name_search(self, name='', args=None, operator='ilike', limit=100)