[REF] hr-luncheon-voucher: rename add-on in hr_luncheon_voucher
to respect OCA guidelines
This commit is contained in:
10
hr_luncheon_voucher/models/res_config_settings.py
Normal file
10
hr_luncheon_voucher/models/res_config_settings.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
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