summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-07-26 06:49:15 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-07-26 06:49:15 +0000
commit2813f944bb28906bdc7348bb7437af77a85c68cf (patch)
tree2e1397c560b490e930a4f5b123286b11f57cc215 /indoteknik_custom/views
parent093455f8ad3219670a50898c16d70394d2f1e227 (diff)
parente394d734ca4e53bd63b767c9c7fe77a5ebe49245 (diff)
Merged in feature/iman-categories-lob (pull request #180)
Feature/iman categories lob
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/website_categories_lob.xml58
1 files changed, 58 insertions, 0 deletions
diff --git a/indoteknik_custom/views/website_categories_lob.xml b/indoteknik_custom/views/website_categories_lob.xml
new file mode 100644
index 00000000..86784d75
--- /dev/null
+++ b/indoteknik_custom/views/website_categories_lob.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<odoo>
+ <data>
+ <record id="website_categories_lob_action" model="ir.actions.act_window">
+ <field name="name">Website Categories LOB</field>
+ <field name="res_model">website.categories.lob</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <record id="website_categories_lob_tree" model="ir.ui.view">
+ <field name="name">Website Categories LOB</field>
+ <field name="model">website.categories.lob</field>
+ <field name="arch" type="xml">
+ <tree default_order="sequence">
+ <field name="sequence"/>
+ <field name="category_id"/>
+ <field name="status"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="website_categories_lob_form" model="ir.ui.view">
+ <field name="name">Website Categories LOB</field>
+ <field name="model">website.categories.lob</field>
+ <field name="arch" type="xml">
+ <form>
+ <sheet>
+ <group>
+ <group>
+ <field name="sequence"/>
+ <field name="category_id"/>
+ <field name="image" widget="image"/>
+ <field name="status"/>
+ </group>
+ </group>
+ <notebook>
+ <page string="Category" name="category_ids">
+ <field name="category_ids" domain="[('parent_id', '=', False)]">
+ <tree>
+ <field name="display_name" />
+ </tree>
+ </field>
+ </page>
+ </notebook>
+ </sheet>
+ </form>
+ </field>
+ </record>
+
+ <menuitem
+ id="website_categories_lob"
+ name="Website Categories LOB"
+ parent="website_sale.menu_orders"
+ sequence="1"
+ action="website_categories_lob_action"
+ />
+ </data>
+</odoo> \ No newline at end of file