diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-12-30 14:09:50 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-12-30 14:09:50 +0700 |
| commit | 7d5204a92422848f617af2d0e50d7069bf9f7824 (patch) | |
| tree | 139718306bb1be2d9cccd3de8fb4c56c0a5b6b1b /indoteknik_custom/views/user_form_merchant.xml | |
| parent | efe91d5ed3170b1d8e2dc217a05261dfbd9687d5 (diff) | |
<iman> add form merchant
Diffstat (limited to 'indoteknik_custom/views/user_form_merchant.xml')
| -rw-r--r-- | indoteknik_custom/views/user_form_merchant.xml | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/indoteknik_custom/views/user_form_merchant.xml b/indoteknik_custom/views/user_form_merchant.xml new file mode 100644 index 00000000..f4f91933 --- /dev/null +++ b/indoteknik_custom/views/user_form_merchant.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="user_form_merchant_tree" model="ir.ui.view"> + <field name="name">user.form.merchant.tree</field> + <field name="model">user.form.merchant</field> + <field name="arch" type="xml"> + <tree create="1" default_order="create_date desc"> + <field name="name_merchant"/> + <field name="email_company"/> + <field name="phone"/> + <field name="description"/> + <field name="create_date"/> + </tree> + </field> + </record> + + <record id="user_form_merchant_form" model="ir.ui.view"> + <field name="name">user.form.merchant.form</field> + <field name="model">user.form.merchant</field> + <field name="arch" type="xml"> + <form create="0"> + <sheet> + <group> + <group> + <field name="name_merchant" /> + <field name="address" /> + <field name="state" /> + <field name="city" /> + <field name="district" /> + <field name="subDistrict" /> + <field name="zip" /> + </group> + <group> + <field name="bank_name" /> + <field name="rekening_name" /> + <field name="account_number" /> + </group> + <group> + <field name="file_dokumenKtpDirut" widget="pdf_viewer"/> + <field name="file_kartuNama" widget="pdf_viewer"/> + <field name="file_npwp" widget="pdf_viewer"/> + <field name="file_sppkp" widget="pdf_viewer"/> + <field name="file_suratPernyataan" widget="pdf_viewer"/> + <field name="file_fotoKantor" widget="image"/> + </group> + <group> + <field name="email_company" widget="email"/> + <field name="email_sales" widget="email"/> + <field name="email_finance" widget="email"/> + <field name="phone" widget="phone"/> + <field name="mobile" widget="phone"/> + </group> + <group> + <field name="description" /> + </group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="action_user_form_merchant" model="ir.actions.act_window"> + <field name="name">User Form Merchant</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">user.form.merchant</field> + <field name="view_mode">tree,form</field> + </record> + + <menuitem + id="menu_user_form_merchant" + name="User Form Merchant" + parent="contacts.menu_contacts" + sequence="3" + action="action_user_form_merchant" + /> + +</odoo>
\ No newline at end of file |
