summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/website_categories_homepage.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/website_categories_homepage.xml b/indoteknik_custom/views/website_categories_homepage.xml
index 0a7ef2c2..0a3f684b 100644
--- a/indoteknik_custom/views/website_categories_homepage.xml
+++ b/indoteknik_custom/views/website_categories_homepage.xml
@@ -49,6 +49,14 @@
</field>
</record>
+ <record id="website_categories_homepage_ir_actions_server" model="ir.actions.server">
+ <field name="name">Sync To Solr</field>
+ <field name="model_id" ref="indoteknik_custom.model_website_categories_homepage"/>
+ <field name="binding_model_id" ref="indoteknik_custom.model_website_categories_homepage"/>
+ <field name="state">code</field>
+ <field name="code">model.sync_to_solr()</field>
+ </record>
+
<menuitem
id="website_categories_homepage"
name="Website Categories Homepage"