qr_invoice_wizard_view.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <odoo>
  3. <record id="l10n_ch_qr_invoice_wizard_form" model="ir.ui.view">
  4. <field name="name">l10n_ch.qr_invoice.wizard.form</field>
  5. <field name="model">l10n_ch.qr_invoice.wizard</field>
  6. <field name="arch" type="xml">
  7. <form string="QR printing encountered a problem">
  8. <field name='nb_qr_inv' invisible="1"/>
  9. <field name="nb_classic_inv" invisible="1"/>
  10. <field name="nb_isr_inv" invisible="1"/>
  11. <p>
  12. <field name="qr_inv_text"/>
  13. <field name="isr_inv_text"/>
  14. <field name="classic_inv_text"/>
  15. </p>
  16. <p>
  17. To be able to print all invoices in the QR format, you might need to : <br/>
  18. - check the account is a valid QR-IBAN<br/>
  19. - or check your company and the partners are located in Switzerland.<br/>
  20. Press Check Invalid Invoices to see a list of the invoices that were printed without an ISR or a QR.
  21. </p>
  22. <footer>
  23. <button name="print_all_invoices" string="Print All" type="object" class="btn-primary"/>
  24. <button name="action_view_faulty_invoices" string="Check invalid invoices" type="object"/>
  25. </footer>
  26. </form>
  27. </field>
  28. </record>
  29. <record id="l10n_ch_qr_invoice_wizard" model="ir.actions.act_window">
  30. <field name="name">Qr Batch error Wizard</field>
  31. <field name="type">ir.actions.act_window</field>
  32. <field name="res_model">l10n_ch.qr_invoice.wizard</field>
  33. <field name="view_mode">form</field>
  34. <field name="view_id" ref="l10n_ch_qr_invoice_wizard_form"/>
  35. <field name="target">new</field>
  36. </record>
  37. </odoo>