summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/find_page.xml
diff options
context:
space:
mode:
authorHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-06 14:50:49 +0700
committerHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-06 14:50:49 +0700
commit9bcbad313a3101a10658e51f2475f8dfd6414c55 (patch)
treebb8d5fa714960e1dbf1ec5b4869c21abf942f818 /indoteknik_custom/views/find_page.xml
parent5c20bda1e65d72088af744481abf0784d30b710e (diff)
parent1d61c5c2f29270d2d1e9c84e887e9c94416d9027 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into refund_system
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>