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_product.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_product.xml')
| -rw-r--r-- | indoteknik_custom/views/product_product.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indoteknik_custom/views/product_product.xml b/indoteknik_custom/views/product_product.xml index 6d547712..9dd1f0a4 100644 --- a/indoteknik_custom/views/product_product.xml +++ b/indoteknik_custom/views/product_product.xml @@ -20,5 +20,21 @@ <field name="state">code</field> <field name="code">model.action_sync_to_solr()</field> </record> + + <data noupdate="1"> + <record id="cron_variant_solr_flag_solr" model="ir.cron"> + <field name="name">Sync Variant 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_product"/> + <field name="code">model.variant_solr_flag_to_solr()</field> + <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 |
