report_userlabel.xml 1.0 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="report_userlabel">
  4. <t t-call="web.basic_layout">
  5. <div class="page">
  6. <t t-foreach="docs" t-as="user">
  7. <div class="col-6 mb92">
  8. <table class="table table-bordered">
  9. <thead>
  10. <tr>
  11. <th class="col-4 danger"/>
  12. <th class="active"/>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. <tr>
  17. <td><div t-if="user.barcode" t-field="user.barcode" t-options="{'widget': 'barcode', 'symbology': 'EAN13', 'width': 300, 'height': 50, 'img_style': 'width:100%;height:35%;'}"/></td>
  18. <td><strong t-field="user.name"/></td>
  19. </tr>
  20. </tbody>
  21. </table>
  22. </div>
  23. </t>
  24. </div>
  25. </t>
  26. </template>
  27. </odoo>