diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/account/wizard/account_tour_upload_bill.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/account/wizard/account_tour_upload_bill.xml')
| -rw-r--r-- | addons/account/wizard/account_tour_upload_bill.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/addons/account/wizard/account_tour_upload_bill.xml b/addons/account/wizard/account_tour_upload_bill.xml new file mode 100644 index 00000000..a3ceb8dd --- /dev/null +++ b/addons/account/wizard/account_tour_upload_bill.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <data> + <record id="account_tour_upload_bill" model="ir.ui.view"> + <field name="name">account.tour.upload.bill</field> + <field name="model">account.tour.upload.bill</field> + <field name="arch" type="xml"> + <form> + <sheet> + <h2>With Odoo, you won't have to records bills manually</h2> + <p>We process bills automatically so that you only have to validate them. Choose how you want to test our artificial intelligence engine:</p> + <group> + <group> + <field name="selection" widget="radio" nolabel="1"/> + </group> + <group attrs="{'invisible': [('selection', '!=', 'sample')]}"> + <field name="sample_bill_preview" widget="pdf_viewer" nolabel="1"/> + </group> + <group attrs="{'invisible': [('selection', '!=', 'upload')]}"> + <field name="attachment_ids" widget="many2many_binary" string="Attach a file" nolabel="1" colspan="2"/> + </group> + </group> + </sheet> + <footer> + <button string="Continue" type="object" name="apply" class="btn-primary"/> + <button string="Discard" class="btn-secondary" special="cancel" /> + </footer> + </form> + </field> + </record> + + <record id="account_tour_upload_bill_email_confirm" model="ir.ui.view"> + <field name="name">account.tour.upload.bill.email.confirm</field> + <field name="model">account.tour.upload.bill.email.confirm</field> + <field name="arch" type="xml"> + <form> + <sheet> + <p>Send your email to <field name="email_alias" class="oe_inline"/> with a pdf of an invoice as attachment.</p> + <p>Once done, press continue.</p> + </sheet> + <footer> + <button string="Continue" type="object" name="apply" class="btn-primary"/> + <button string="Discard" class="btn-secondary" special="cancel" /> + </footer> + </form> + </field> + </record> + </data> +</odoo> |
