hunk.code_window:     session_id = fields.Many2one(
           'pos.session', string='Session', required=True, index=True,
           domain="[('state', '=', 'opened')]")
       config_id = fields.Many2one('pos.config', related='session_id.config_id', string="Point of Sale", readonly=False)
       currency_id = fields.Many2one('res.currency', related='config_id.currency_id', string="Currency")
       currency_rate = fields.Float("Currency Rate", compute='_compute_currency_rate', compute_sudo=True, store=True, digits=0, readonly=True,
           help='The rate of the currency to the currency of rate applicable at the date of the order')
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:     config_id = fields.Many2one('pos.config', related='session_id.config_id', string="Point of Sale", readonly=False, store=True)
  
hunk.file_path: addons/point_of_sale/models/pos_order.py
hunk.type: replace
file: declare module "services" {
      import { barcodeReaderService } from "@point_of_sale/app/barcode/barcode_reader_service";
      import { debugService } from "@point_of_sale/app/debug/debug_service";
      import { hardwareProxyService } from "@point_of_sale/app/hardware_proxy/hardware_proxy_service";
      import { popupService } from "@point_of_sale/app/popup/popup_service";
      import { numberBufferService } from "@point_of_sale/app/utils/number_buffer_service";
      import { notificationService } from "@point_of_sale/app/notification/notification_service";
      import { posBusService } from "@point_of_sale/app/bus/pos_bus_service";
      import { customerDisplayService } from "@point_of_sale/app/customer_display/customer_display_service";
      import { reportService } from "@point_of_sale/app/utils/report_service";
      import { soundService } from "@point_of_sale/app/sound/sound_service";
  
      export interface Services {
          barcode_reader: Resolved<ReturnType<typeof barcodeReaderService.start>>;
          debug: ReturnType<typeof barcodeReaderService.start>;
          hardware_proxy: ReturnType<typeof hardwareProxyService.start>;
          popup: ReturnType<typeof popupService.start>;
          number_buffer: ReturnType<typeof numberBufferService.start>;
          pos_notification: ReturnType<typeof notificationService.start>;
          pos_bus: ReturnType<typeof posBusService.start>;
          customer_display: ReturnType<typeof customerDisplayService.start>;
          report: ReturnType<typeof reportService.start>;
          sound: ReturnType<typeof soundService.start>;
      }
  }
  