diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-12 15:43:52 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-12 15:43:52 +0700 |
| commit | 890be59e4dadafc6e25651fcb9de20e2b24379cc (patch) | |
| tree | a699e771693a3f89633f01d1870aee11d0cb76c1 /indoteknik_custom/views/product_template.xml | |
| parent | 888a3ca6337a1622f4f16b98b700cdd437ab6023 (diff) | |
Sync to solr product variant solr flag 2, Sync to solr product template solr flag 2
Diffstat (limited to 'indoteknik_custom/views/product_template.xml')
| -rwxr-xr-x | indoteknik_custom/views/product_template.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml index b2939867..f4e74199 100755 --- a/indoteknik_custom/views/product_template.xml +++ b/indoteknik_custom/views/product_template.xml @@ -84,5 +84,20 @@ <field name="state">code</field> <field name="code">model.action_sync_to_solr()</field> </record> + + <data noupdate="1"> + <record id="cron_product_solr_flag_solr" model="ir.cron"> + <field name="name">Sync Product To Solr: Solr Flag 2</field> + <field name="interval_number">10</field> + <field name="interval_type">minutes</field> + <field name="numbercall">-1</field> + <field name="doall" eval="False"/> + <field name="model_id" ref="model_product_template"/> + <field name="code" eval="('model.solr_flag_to_solr', ())"/> + <field name="state">code</field> + <field name="priority">55</field> + <field name="active">True</field> + </record> + </data> </data> </odoo>
\ No newline at end of file |
