diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-08-21 21:58:04 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-08-21 21:58:04 +0700 |
| commit | f1b964c1f8071370ee0cffe6458bb9dc67039542 (patch) | |
| tree | 887883bdf1c0cee763b77b62a7fc9e4e63a68a04 /indoteknik_custom/views | |
| parent | 60ed70b31d47b5ee5fbc0bdb0c3de34820495600 (diff) | |
add group pricing
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/price_group.xml | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/indoteknik_custom/views/price_group.xml b/indoteknik_custom/views/price_group.xml new file mode 100644 index 00000000..7ee8d422 --- /dev/null +++ b/indoteknik_custom/views/price_group.xml @@ -0,0 +1,82 @@ +<odoo> + <data> + <record id="price_group_action" model="ir.actions.act_window"> + <field name="name">Price Group</field> + <field name="res_model">price.group</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Price Group + </p> + </field> + </record> + + <record id="price_group_tree" model="ir.ui.view"> + <field name="name">Price Group</field> + <field name="model">price.group</field> + <field name="arch" type="xml"> + <tree> + <field name="name"/> + <field name="pricelist_id"/> + <field name="group1"/> + <field name="group2"/> + <field name="group3"/> + <field name="group4"/> + <field name="group5"/> + </tree> + </field> + </record> + + <record id="price_group_form" model="ir.ui.view"> + <field name="name">Price Group</field> + <field name="model">price.group</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="name"/> + <field name="pricelist_id"/> + <field name="group1"/> + <field name="group2"/> + <field name="group3"/> + <field name="group4"/> + <field name="group5"/> + </group> + </group> + </sheet> + </form> + </field> + </record> + + <menuitem id="price_group" + name="Price Group" + parent="sale.product_menu_catalog" + sequence="100" + action="price_group_action"/> + </data> + <data> + <record id="x_manufactures_form_pricing_group" model="ir.ui.view"> + <field name="name">Manufactures</field> + <field name="model">x_manufactures</field> + <field name="inherit_id" ref="indoteknik_custom.x_manufactures_form"/> + <field name="arch" type="xml"> + <field name="vendor_ids" position="after"> + <field name="pricing_group"/> + </field> + </field> + </record> + </data> + <data> + <record id="x_manufactures_tree_pricing_group" model="ir.ui.view"> + <field name="name">Manufactures</field> + <field name="model">x_manufactures</field> + <field name="inherit_id" ref="indoteknik_custom.x_manufactures_tree"/> + <field name="arch" type="xml"> + <field name="parent_id" position="after"> + <field name="pricing_group" optional="hide"/> + </field> + </field> + </record> + </data> +</odoo>
\ No newline at end of file |
