Files
hr-tools/hr_luncheon_voucher/models/res_config_settings.py
2026-05-30 00:34:22 +02:00

12 lines
319 B
Python

from odoo import fields, models
class ResConfigSettings(models.TransientModel):
_inherit = "res.config.settings"
hr_half_day_cancels_voucher = fields.Boolean(
string="Half working days cancel luncheon vouchers",
related="company_id.hr_half_day_cancels_voucher",
readonly=False,
)