| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | |
| 4 | <record id="l10n_hu_edi_cancellation_form" model="ir.ui.view"> |
| 5 | <field name="name">l10n_hu_edi.cancellation.form</field> |
| 6 | <field name="model">l10n_hu_edi.cancellation</field> |
| 7 | <field name="arch" type="xml"> |
| 8 | <form> |
| 9 | <div class="alert alert-warning" role="alert"> |
| 10 | Technical Annulment should only be used when an error in the software caused an incorrect data report.<br/> |
| 11 | To cancel an invoice / credit note in a normal business flow, please create a credit note / debit note. |
| 12 | </div> |
| 13 | <group> |
| 14 | <field name="code"/> |
| 15 | <field name="reason"/> |
| 16 | </group> |
| 17 | <footer> |
| 18 | <button string="Request Annulment" name="button_request_cancel" type="object" default_focus="1" class="btn-primary"/> |
| 19 | <button string="Close" special="cancel"/> |
| 20 | </footer> |
| 21 | </form> |
| 22 | </field> |
| 23 | </record> |
| 24 | |
| 25 | </odoo> |