hunk.code_window:                 <group expand="0" string="Group By">
                       <filter string="Session" name="session" domain="[]" context="{'group_by': 'session_id'}"/>
                       <filter string="User" name="user_id" domain="[]" context="{'group_by': 'user_id'}"/>
                       <filter string="Customer" name="customer" domain="[]" context="{'group_by': 'partner_id'}"/>
                       <filter string="Status" name="status" domain="[]" context="{'group_by': 'state'}"/>
                       <filter string="Order Date" name="order_month" domain="[]" context="{'group_by': 'date_order'}"/>
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit:                     <filter string="Point of Sale" name="config_id" domain="[]" context="{'group_by': 'config_id'}"/>
  
hunk.file_path: addons/point_of_sale/views/pos_order_view.xml
hunk.type: add
file: <?xml version="1.0"?>
  <odoo>
  
      <record id="account_invoice_view_form_inherit_payment" model="ir.ui.view">
          <field name="name">account.move.view.form.inherit.payment</field>
          <field name="model">account.move</field>
          <field name="inherit_id" ref="account.view_move_form"/>
          <field name="arch" type="xml">
              <!--
              The user must capture/void the authorized transactions before registering a new payment.
              -->
              <xpath expr="//button[@id='account_invoice_payment_btn']" position="attributes">
                  <attribute name="invisible">state != 'posted' or payment_state not in ('partial', 'not_paid') or move_type not in ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt') or authorized_transaction_ids</attribute>
              </xpath>
              <xpath expr="//button[@id='account_invoice_payment_btn']" position="after">
                  <field name="authorized_transaction_ids" invisible="1"/>
                  <button name="payment_action_capture" type="object"
                          groups="account.group_account_invoice"
                          string="Capture Transaction" class="oe_highlight" data-hotkey="shift+g"
                          invisible="move_type not in ('out_invoice', 'out_refund', 'in_invoice', 'in_refund') or state != 'posted' or not authorized_transaction_ids"/>
                  <button name="payment_action_void" type="object"
                          groups="account.group_account_invoice"
                          string="Void Transaction" data-hotkey="shift+v"
                          confirm="Are you sure you want to void the authorized transaction? This action can't be undone."
                          invisible="move_type not in ('out_invoice', 'out_refund', 'in_invoice', 'in_refund') or state != 'posted' or not authorized_transaction_ids"/>
              </xpath>
              <xpath expr="//div[@name='button_box']" position="inside">
                  <field name="transaction_ids" invisible="1" />
                  <button name="action_view_payment_transactions" type="object"
                          groups="account.group_account_invoice"
                          class="oe_stat_button" icon="fa-money"
                          invisible="not transaction_ids">
                          <div class="o_stat_info">
                              <span class="o_stat_text">Payment Transaction</span>
                          </div>
                  </button>
              </xpath>
          </field>
      </record>
  
  </odoo>
  