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.

34 lines
1.8 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ********************************************************************** -->
  3. <!--Point Of Sale - Order Pricelist Change for Odoo -->
  4. <!--Copyright (C) 2014 GRAP (http://www.grap.coop) -->
  5. <!--@author Sylvain LE GAL (https://twitter.com/legalsylvain) -->
  6. <!--This program is free software: you can redistribute it and/or modify -->
  7. <!--it under the terms of the GNU Affero General Public License as -->
  8. <!--published by the Free Software Foundation, either version 3 of the -->
  9. <!--License, or (at your option) any later version. -->
  10. <!--This program is distributed in the hope that it will be useful, -->
  11. <!--but WITHOUT ANY WARRANTY; without even the implied warranty of -->
  12. <!--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
  13. <!--GNU Affero General Public License for more details. -->
  14. <!--You should have received a copy of the GNU Affero General Public License-->
  15. <!--along with this program. If not, see <http://www.gnu.org/licenses/>. -->
  16. <!-- ********************************************************************** -->
  17. <openerp>
  18. <data>
  19. <!-- View : pos.order -->
  20. <record id="view_pos_order_form" model="ir.ui.view">
  21. <field name="name">pos.order.form</field>
  22. <field name="model">pos.order</field>
  23. <field name="inherit_id" ref="point_of_sale.view_pos_pos_form" />
  24. <field name="arch" type="xml">
  25. <xpath expr="//button[@string='Payment']" position="after">
  26. <button name="action_recompute_pricelist" string="Recompute With Pricelist" type="object" states="draft"/>
  27. </xpath>
  28. </field>
  29. </record>
  30. </data>
  31. </openerp>