hunk.code_window:         data = {'name': hostname,'identifier': maciotbox, 'ip': ips, 'token': token}
           devicesList.update(printerList)
           data['devices'] = devicesList
           data_json = json.dumps(data).encode('utf8')
           headers = {'Content-type': 'application/json', 'Accept': 'text/plain'}
           http = urllib3.PoolManager()
           req = False
           try:
               req = http.request('POST',
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:         urllib3.disable_warnings()
           http = urllib3.PoolManager(cert_reqs='CERT_NONE')
  
hunk.file_path: addons/hw_drivers/controllers/driver.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  # Part of Odoo. See LICENSE file for full copyright and licensing details.
  
  from odoo import api, fields, models
  
  
  class StockQuant(models.Model):
      _inherit = 'stock.quant'
  
      removal_date = fields.Datetime(related='lot_id.removal_date', store=True, readonly=False)
  
      @api.model
      def _get_removal_strategy_order(self, removal_strategy):
          if removal_strategy == 'fefo':
              return 'removal_date, in_date, id'
          return super(StockQuant, self)._get_removal_strategy_order(removal_strategy)
  