[REF] hr-luncheon-voucher: rename add-on in hr_luncheon_voucher

to respect OCA guidelines
This commit is contained in:
Stéphan Sainléger
2023-02-01 22:30:53 +01:00
parent 68788e3950
commit 8579e22474
23 changed files with 807 additions and 1098 deletions

View 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)