From e73ecd7e44d9d3a6c69f6848b8ad197aab71f97d Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Tue, 29 Aug 2023 14:21:16 +0700 Subject: add auto sync solr to product pricelist item --- indoteknik_custom/views/product_pricelist.xml | 8 -------- indoteknik_custom/views/product_pricelist_item.xml | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'indoteknik_custom/views') diff --git a/indoteknik_custom/views/product_pricelist.xml b/indoteknik_custom/views/product_pricelist.xml index 34876cc4..55139a24 100644 --- a/indoteknik_custom/views/product_pricelist.xml +++ b/indoteknik_custom/views/product_pricelist.xml @@ -25,12 +25,4 @@ - - - Sync Product to SOLR - - - code - action = records.update_product_solr_flag() - \ No newline at end of file diff --git a/indoteknik_custom/views/product_pricelist_item.xml b/indoteknik_custom/views/product_pricelist_item.xml index 2b70f1e1..973ae181 100755 --- a/indoteknik_custom/views/product_pricelist_item.xml +++ b/indoteknik_custom/views/product_pricelist_item.xml @@ -45,5 +45,12 @@ + + Sync Product to SOLR + + + code + model.action_sync_to_solr() + \ No newline at end of file -- cgit v1.2.3