summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-08-14 09:41:18 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-08-14 09:41:18 +0700
commitb603e5eca682c7d42d259d3432316ed28b41737f (patch)
tree7764521755db971132584da63155d84130529f70 /indoteknik_custom/views
parented310664434620cbcdb536fad3762199d154af9b (diff)
product pricelist solr
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/product_pricelist.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/product_pricelist.xml b/indoteknik_custom/views/product_pricelist.xml
index 55139a24..34876cc4 100644
--- a/indoteknik_custom/views/product_pricelist.xml
+++ b/indoteknik_custom/views/product_pricelist.xml
@@ -25,4 +25,12 @@
</page>
</field>
</record>
+
+ <record id="product_pricelist_sync_product_solr_ir_actions_server" model="ir.actions.server">
+ <field name="name">Sync Product to SOLR</field>
+ <field name="model_id" ref="product.model_product_pricelist"/>
+ <field name="binding_model_id" ref="product.model_product_pricelist"/>
+ <field name="state">code</field>
+ <field name="code">action = records.update_product_solr_flag()</field>
+ </record>
</odoo> \ No newline at end of file