hunk.code_window:         mo_form.qty_producing = 4
           self.assertEqual(sum([x['quantity_done'] for x in mo_form.move_raw_ids._records]), 20, 'Update the produce quantity should change the components quantity.')
           self.assertEqual(sum([x['reserved_availability'] for x in mo_form.move_raw_ids._records]), 5, 'Update the produce quantity should not change the components reserved quantity.')
           mo_form.qty_producing = 1
           self.assertEqual(sum([x['quantity_done'] for x in mo_form.move_raw_ids._records]), 5, 'Update the produce quantity should change the components quantity.')
  
hunk.labels: keep keep replace keep keep
hunk.after_edit:         mo = mo_form.save()
           self.assertEqual(sum(mo.move_raw_ids.mapped('reserved_availability')), 5, 'Update the produce quantity should not change the components reserved quantity.')
           mo_form = Form(mo)
  
hunk.file_path: addons/mrp/tests/test_order.py
hunk.type: replace
file: odoo.define('point_of_sale.DebugManager.Backend', function(require) {
      'use strict';
  
      const { _t } = require('web.core');
      const DebugManager = require('web.DebugManager.Backend');
  
      DebugManager.include({
          /**
           * Runs the JS (desktop) tests
           */
          perform_pos_js_tests() {
              this.do_action({
                  name: _t('JS Tests'),
                  target: 'new',
                  type: 'ir.actions.act_url',
                  url: '/pos/web/tests?mod=*',
              });
          },
      });
  });
  