diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-02-28 14:07:47 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-02-28 14:07:47 +0700 |
| commit | 00b6739e4f4228c1cc66de0ef63312bc633ae21f (patch) | |
| tree | 85f8fc83d4030878893599abb2a949e5d478e3e7 /indoteknik_custom/views/cust_commision.xml | |
| parent | 0738a192409687790c16c757f85fe440cb1f377d (diff) | |
| parent | 46a7cc5601ceab2a7a6cdf4d74e0fa26ce13ab8a (diff) | |
Merge branch 'production' into purchasing-job
Diffstat (limited to 'indoteknik_custom/views/cust_commision.xml')
| -rw-r--r-- | indoteknik_custom/views/cust_commision.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/indoteknik_custom/views/cust_commision.xml b/indoteknik_custom/views/cust_commision.xml new file mode 100644 index 00000000..dfa4adfb --- /dev/null +++ b/indoteknik_custom/views/cust_commision.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="cust_commision_tree" model="ir.ui.view"> + <field name="name">cust.commision.tree</field> + <field name="model">cust.commision</field> + <field name="arch" type="xml"> + <tree editable="bottom"> + <field name="partner_id"/> + <field name="commision_percent"/> + </tree> + </field> + </record> + + <record id="cust_commision_form" model="ir.ui.view"> + <field name="name">cust.commision.form</field> + <field name="model">cust.commision</field> + <field name="arch" type="xml"> + <form> + <sheet string="Commision"> + <group> + <group> + <field name="partner_id"/> + <field name="commision_percent"/> + </group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="cust_commision_action" model="ir.actions.act_window"> + <field name="name">Commision</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">cust.commision</field> + <field name="view_mode">tree,form</field> + </record> + + <menuitem id="menu_cust_commision_sales" + name="Commision" + action="cust_commision_action" + parent="sale.product_menu_catalog" + sequence="101" + /> +</odoo>
\ No newline at end of file |
