summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/find_page.xml
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2026-02-19 10:09:24 +0000
committerIT Fixcomart <it@fixcomart.co.id>2026-02-19 10:09:24 +0000
commitb468da04ba901590b764694bfdd47366bc649dab (patch)
tree7aff823ada1725b6cb100384c517c73b9888751e /indoteknik_custom/views/find_page.xml
parentbae2823177d413ecdbdcac8b50fec75dc1c358dd (diff)
parent605241e33856c45660fce9ba16102557160c235a (diff)
Merged in cr_renca_find (pull request #490)
Cr renca find
Diffstat (limited to 'indoteknik_custom/views/find_page.xml')
-rw-r--r--indoteknik_custom/views/find_page.xml13
1 files changed, 11 insertions, 2 deletions
diff --git a/indoteknik_custom/views/find_page.xml b/indoteknik_custom/views/find_page.xml
index c752aa98..fc9bddbb 100644
--- a/indoteknik_custom/views/find_page.xml
+++ b/indoteknik_custom/views/find_page.xml
@@ -25,7 +25,7 @@
<group>
<field name="category_id"/>
<field name="brand_id"/>
- <field name="url"/>
+ <field name="url" />
</group>
<group>
<field name="create_uid"/>
@@ -62,9 +62,18 @@
<field name="view_mode">tree,form</field>
</record>
+
+ <record id="ir_actions_server_find_page_sync_to_solr" model="ir.actions.server">
+ <field name="name">Sync to solr</field>
+ <field name="model_id" ref="indoteknik_custom.model_web_find_page"/>
+ <field name="binding_model_id" ref="indoteknik_custom.model_web_find_page"/>
+ <field name="state">code</field>
+ <field name="code">model._sync_to_solr()</field>
+ </record>
+
<menuitem id="menu_web_find_page"
name="Web Find Page"
action="web_find_page_action"
parent="website_sale.menu_orders"
sequence="8"/>
-</odoo> \ No newline at end of file
+</odoo>