[MIG] hr_luncheon_voucher: migrate to 18.0

This commit is contained in:
Stéphan Sainléger
2026-05-30 00:34:22 +02:00
parent e4cc346dfe
commit cc719291eb
24 changed files with 1857 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
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,
)