hunk.code_window:         mo_form = Form(mo)
           mo_form.qty_producing = 3
           self.assertEqual(sum([x['quantity_done'] for x in mo_form.move_raw_ids._records]), 15, '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 = 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.')
  
hunk.labels: keep 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: <?xml version="1.0" encoding="utf-8"?>
  <odoo>
      <record id="sale_report_view_graph_slides" model="ir.ui.view">
           <field name="name">sale.report.view.graph.slides</field>
           <field name="model">sale.report</field>
           <field name="arch" type="xml">
               <graph string="eLearning Sales Analysis" type="line">
                   <field name="date" type="row" interval="day"/>
                   <field name="price_subtotal" type="measure"/>
               </graph>
           </field>
      </record>
  
  	<record id="sale_report_action_slides" model="ir.actions.act_window">
          <field name="name">eLearning Revenues</field>
          <field name="res_model">sale.report</field>
          <field name="type">ir.actions.act_window</field>
          <field name="view_mode">graph,pivot</field>
          <field name="domain">[("product_id.channel_ids", "!=", False)]</field>
          <field name="context">{'group_by': ['date', 'product_id']}</field>
          <field name="view_id" ref="sale_report_view_graph_slides"/>
      </record>
  </odoo>
  