summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/promotion/promotion_monitoring.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/indoteknik_custom/views/promotion/promotion_monitoring.xml b/indoteknik_custom/views/promotion/promotion_monitoring.xml
new file mode 100644
index 00000000..b1f80276
--- /dev/null
+++ b/indoteknik_custom/views/promotion/promotion_monitoring.xml
@@ -0,0 +1,46 @@
+<odoo>
+ <record id="promotion_monitoring_tree" model="ir.ui.view">
+ <field name="name">Promotion Monitoring Tree</field>
+ <field name="model">promotion.monitoring</field>
+ <field name="arch" type="xml">
+ <tree>
+ <field name="product_id" />
+ <field name="has_promo" />
+ <field name="count_promo" />
+ </tree>
+ </field>
+ </record>
+
+ <record id="promotion_monitoring_form" model="ir.ui.view">
+ <field name="name">Promotion Monitoring Form</field>
+ <field name="model">promotion.monitoring</field>
+ <field name="arch" type="xml">
+ <form>
+ <sheet>
+ <group>
+ <group>
+ <field name="product_id" />
+ <field name="has_promo" />
+ <field name="count_promo" />
+ </group>
+ </group>
+ </sheet>
+ </form>
+ </field>
+ </record>
+
+ <record id="promotion_monitoring_action" model="ir.actions.act_window">
+ <field name="name">Promotion Monitoring</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">promotion.monitoring</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
+ <menuitem
+ id="menu_promotion_monitoring"
+ name="Monitoring"
+ parent="indoteknik_custom.menu_promotion_program_parent"
+ sequence="3"
+ action="promotion_monitoring_action"
+ />
+</odoo> \ No newline at end of file