From 9c2b9c6ef30aa49b9117156e57259a8581cb2660 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 23 Jan 2024 11:21:53 +0700 Subject: import include price in purchase pricelist --- import_purchase_pricelist.ktr | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'import_purchase_pricelist.ktr') 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 @@ erp indoteknik production (localhost) 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) +--where pp.write_date >= (now() - '10 days'::interval) 0 N @@ -858,6 +858,11 @@ where pp.write_date >= (now() - '10 days'::interval) human_last_update Y + + include_price + include_price + Y + -- cgit v1.2.3