summaryrefslogtreecommitdiff
path: root/import_purchase_pricelist.ktr
diff options
context:
space:
mode:
Diffstat (limited to 'import_purchase_pricelist.ktr')
-rw-r--r--import_purchase_pricelist.ktr9
1 files changed, 7 insertions, 2 deletions
diff --git a/import_purchase_pricelist.ktr b/import_purchase_pricelist.ktr
index 5e869ca..2b9c883 100644
--- a/import_purchase_pricelist.ktr
+++ b/import_purchase_pricelist.ktr
@@ -557,10 +557,10 @@
</partitioning>
<connection>erp indoteknik production (localhost)</connection>
<sql>select pp.id, pp.product_id, pp.vendor_id, rp.name as vendor, pp.product_price, pp.write_date,
-pp.system_price, pp.system_last_update, pp.human_last_update
+pp.system_price, pp.system_last_update, pp.human_last_update, pp.include_price
from purchase_pricelist pp
join res_partner rp on rp.id = pp.vendor_id
-where pp.write_date >= (now() - '10 days'::interval)</sql>
+--where pp.write_date >= (now() - '10 days'::interval)</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
@@ -858,6 +858,11 @@ where pp.write_date >= (now() - '10 days'::interval)</sql>
<rename>human_last_update</rename>
<update>Y</update>
</value>
+ <value>
+ <name>include_price</name>
+ <rename>include_price</rename>
+ <update>Y</update>
+ </value>
</lookup>
<attributes/>
<cluster_schema/>