hunk.code_window: <?xml version="1.0" encoding="UTF-8" ?>
   <template id="template" xml:space="preserve">
       <!-- TODO: rename this to QtyAtDate in master version -->
       <t t-name="sale_stock.qtyAtDate">
           <div t-att-class="!props.record.data.display_qty_widget ? 'invisible' : ''">
               <a t-att-tabindex="props.record.data.display_qty_widget ? '0' : '-1'" t-on-click="showPopup" t-attf-class="fa fa-area-chart {{ calcData.forecasted_issue ? 'text-danger' : 'text-primary' }}"/>
           </div>
       </t>
  
hunk.labels: keep keep keep replace replace replace replace replace keep keep
hunk.after_edit:     <t t-name="sale_stock.QtyAtDate">
           <a t-att-tabindex="props.record.data.display_qty_widget ? '0' : '-1'"
               t-on-click="showPopup"
               t-att-class="!props.record.data.display_qty_widget ? 'invisible' : ''"
               t-attf-class="fa fa-area-chart {{ calcData.forecasted_issue ? 'text-danger' : 'text-primary' }}"
           />
  
hunk.file_path: addons/sale_stock/static/src/widgets/qty_at_date_widget.xml
hunk.type: replace
file: <?xml version="1.0" encoding="utf-8"?>
  <odoo>
      <record id="view_picking_type_form_inherit" model="ir.ui.view">
          <field name="name">stock.picking.type.form.inherit</field>
          <field name="model">stock.picking.type</field>
          <field name="inherit_id" ref="stock_picking_batch.view_picking_type_form_inherit"/>
          <field name="arch" type="xml">
              <div name="batch_contact" position="after">
                  <span invisible="not auto_batch"/>
                  <div name="batch_carrier" class="o_row" invisible="not auto_batch">
                      <field name="batch_group_by_carrier"/>
                      <label for="batch_group_by_carrier"/>
                  </div>
              </div>
              <field name="batch_auto_confirm" position="before">
                  <label for="batch_max_weight" invisible="not auto_batch"/>
                  <div class="o_row" name="batch_max_weight" invisible="not auto_batch">
                      <field name="batch_max_weight"/>
                      <span><field name="weight_uom_name"/></span>
                  </div>
              </field>
          </field>
      </record>
  </odoo>
  