qweb.xml 835 B

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--<templates id="template" xml:space="preserve">
  3. <t t-extend="ListView.buttons">
  4. <t t-jquery="button.oe_list_add" t-operation="after">
  5. <t t-if="widget.model=='account.invoice'">
  6. <button class="oe_button oe_list_add_planing_daily oe_highlight"
  7. type="button">Create Planing Daily</button>
  8. <button class="oe_button oe_list_view_current_session oe_highlight"
  9. type="button">Current Session</button>
  10. </t>
  11. </t>
  12. </t>
  13. </templates> -->
  14. <template id="template" xml:space="preserve">
  15. <t t-extend="ListView.buttons">
  16. <t t-jquery="button.oe_list_add" t-operation="replace">
  17. <button t-if="widget.model == 'purchase.order'" class="oe_button oe_new_button oe_highlight" type="button">Boton</button>
  18. </t>
  19. </t>
  20. </template>