[MIG] hr_luncheon_voucher: migrate to 18.0
This commit is contained in:
11
hr_luncheon_voucher/models/res_config_settings.py
Normal file
11
hr_luncheon_voucher/models/res_config_settings.py
Normal 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,
|
||||
)
|
||||
Reference in New Issue
Block a user