hunk.code_window:         order_line = request.env['sale.order.line'].sudo().browse(int(line_id)).exists()
           if not order_line or order_line.order_id != order_sudo:
               return False
           if not order_line.sale_order_option_ids:
               # Do not allow updating non optional lines from a quotation
               return False
           if input_quantity is not False:
  
hunk.labels: keep keep keep keep keep replace replace keep keep keep
hunk.after_edit:         if not order_line._can_be_edited_on_portal():
               # Do not allow updating non-optional products from a quotation
  
hunk.file_path: addons/sale_management/controllers/portal.py
hunk.type: replace
file: <?xml version="1.0" encoding="UTF-8"?>
  <templates id="template" xml:space="preserve">
      <t t-name="pos_loyalty.Orderline" t-inherit="point_of_sale.Orderline" t-inherit-mode="extension" owl="1">
          <xpath expr="//ul[hasclass('info-list')]" position="attributes">
              <attribute name="t-if">!_isGiftCardOrEWalletReward()</attribute>
          </xpath>
          <xpath expr="//ul[hasclass('info-list')]" position="after">
              <ul t-else="" class="info-list">
                  Current Balance: <span t-esc="_getGiftCardOrEWalletBalance()"/>
              </ul>
          </xpath>
      </t>
  </templates>
  