| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | |
| 4 | <record id="l10n_sa_edi_otp_wizard_view_form" model="ir.ui.view"> |
| 5 | <field name="name">l10n_sa_edi.otp.wizard.form</field> |
| 6 | <field name="model">l10n_sa_edi.otp.wizard</field> |
| 7 | <field name="arch" type="xml"> |
| 8 | <form string="Use an OTP to request for a CSID"> |
| 9 | Please input the OTP generated from the Fatoora Portal. |
| 10 | <group> |
| 11 | <field name="journal_id" invisible="1"/> |
| 12 | <field name="l10n_sa_renewal" invisible="1"/> |
| 13 | <field name="l10n_sa_otp"/> |
| 14 | </group> |
| 15 | <footer> |
| 16 | <button string="Confirm" type="object" name="validate" class="btn btn-primary" data-hotkey="q"/> |
| 17 | <button string="Cancel" special="cancel" data-hotkey="x" class="btn btn-secondary"/> |
| 18 | </footer> |
| 19 | </form> |
| 20 | </field> |
| 21 | </record> |
| 22 | |
| 23 | <record id="l10n_sa_edi_otp_wizard_act_window" model="ir.actions.act_window"> |
| 24 | <field name="name">Enter the OTP</field> |
| 25 | <field name="res_model">l10n_sa_edi.otp.wizard</field> |
| 26 | <field name="view_mode">form</field> |
| 27 | <field name="target">new</field> |
| 28 | </record> |
| 29 | |
| 30 | </odoo> |