from odoo import models

class PosSession(models.Model):
    _inherit = 'pos.session'

    def _loader_params_pos_order_line(self):
        params = super()._loader_params_pos_order_line()
        params['search_params']['fields'].extend(['preparation_status', 'preparation_time_start', 'preparation_time_end'])
        return params
