You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
780 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2015-Today GRAP (http://www.grap.coop)
  4. @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
  5. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  6. -->
  7. <odoo>
  8. <record id="view_pos_order_form" model="ir.ui.view">
  9. <field name="model">pos.order</field>
  10. <field name="inherit_id" ref="point_of_sale.view_pos_pos_form" />
  11. <field name="arch" type="xml">
  12. <button name="refund" position="before">
  13. <button name="%(action_pos_payment_change_wizard)d"
  14. context="{'pos_session_id' : session_id}"
  15. string="Change Payments" type="action" states="paid,invoiced"/>
  16. </button>
  17. </field>
  18. </record>
  19. </odoo>