summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-09-08 16:35:17 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-09-08 16:35:17 +0700
commit439f7252866ae30b548326ad25f241e513f0fe85 (patch)
tree9c47ae576cd2689529032c27dd15f270aa88bd8f /indoteknik_custom/views
parent330aab84fc75eb89340d1910b2af8ec5bba7b45d (diff)
Buat SOLR untuk brand website
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/x_manufactures.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/x_manufactures.xml b/indoteknik_custom/views/x_manufactures.xml
index dd896179..f68a0e00 100755
--- a/indoteknik_custom/views/x_manufactures.xml
+++ b/indoteknik_custom/views/x_manufactures.xml
@@ -81,6 +81,14 @@
</field>
</record>
+ <record id="ir_actions_server_x_manufactures_sync_to_solr" model="ir.actions.server">
+ <field name="name">Sync to solr</field>
+ <field name="model_id" ref="indoteknik_custom.model_x_manufactures"/>
+ <field name="binding_model_id" ref="indoteknik_custom.model_x_manufactures"/>
+ <field name="state">code</field>
+ <field name="code">model.action_sync_to_solr()</field>
+ </record>
+
<menuitem id="x_manufactures_sale"
name="Manufactures"
parent="sale.product_menu_catalog"