from odoo import fields, models class PosConfig(models.Model): _inherit = 'pos.config' morning_shift_end_time = fields.Float( string='Morning Shift End Time', default=15.0, help="Time (in hours) after which closing a POS session will run the standard checks for draft orders, preventing closure. Before this time, the check is bypassed so the morning shift can close." )