From 48d9f4c2b6b8e9b60334e1b9f49e27fc9545a0de Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Mon, 13 May 2024 17:35:44 +0700 Subject: change import account move onetime --- import_account_move_line_onetime.ktr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'import_account_move_line_onetime.ktr') diff --git a/import_account_move_line_onetime.ktr b/import_account_move_line_onetime.ktr index e8af008..3c2471d 100644 --- a/import_account_move_line_onetime.ktr +++ b/import_account_move_line_onetime.ktr @@ -892,7 +892,7 @@ erp indoteknik production (localhost) select aml.* from account_move_line aml join account_move am on am.id = aml.move_id -where 1=1 +where to_char(am.date, 'YYYY') = '2024' --and (am.move_type = 'out_invoice' or am.journal_id = 3) --and aml.write_date >= (now() - '5 days'::interval) 0 -- cgit v1.2.3