summaryrefslogtreecommitdiff
path: root/import_partner_one_time.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-09-10 14:10:37 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-09-10 14:10:37 +0700
commitcb7ba8989c44850768fe36d163ce1c66469ef310 (patch)
tree029ca23ca9c7205905ea1487577a92df0ecfcb51 /import_partner_one_time.ktr
parent6346bf568b0469c15f165b868130b3d786f23703 (diff)
test
Diffstat (limited to 'import_partner_one_time.ktr')
-rw-r--r--import_partner_one_time.ktr9
1 files changed, 7 insertions, 2 deletions
diff --git a/import_partner_one_time.ktr b/import_partner_one_time.ktr
index e99f884..92901fd 100644
--- a/import_partner_one_time.ktr
+++ b/import_partner_one_time.ktr
@@ -648,6 +648,11 @@
<rename>group_partner_id</rename>
<update>Y</update>
</value>
+ <value>
+ <name>user_id</name>
+ <rename>user_id</rename>
+ <update>N</update>
+ </value>
</lookup>
<attributes/>
<cluster_schema/>
@@ -676,10 +681,10 @@
</partitioning>
<connection>erp indoteknik production (localhost)</connection>
<sql>select id, name, display_name, active, email, industry_id, state_id, kota_id,
-kecamatan_id, kelurahan_id, is_potential, parent_id, email, phone, mobile, pareto_status, group_partner_id
+kecamatan_id, kelurahan_id, is_potential, parent_id, email, phone, mobile, pareto_status, group_partner_id, user_id
from res_partner
--where write_date >= (now() - '5 days'::interval)
-where pareto_status is not null</sql>
+where user_id is not null</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>