From 0ac6c227f0fba64af0908f2df9baadc270b15d80 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Wed, 8 May 2024 11:11:05 +0700 Subject: import account move onetime - import all data --- import_account_move_line.ktr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'import_account_move_line.ktr') diff --git a/import_account_move_line.ktr b/import_account_move_line.ktr index 0f58b0b..ba80dcf 100644 --- a/import_account_move_line.ktr +++ b/import_account_move_line.ktr @@ -891,7 +891,8 @@ erp indoteknik production (localhost) select aml.* from account_move_line aml join account_move am on am.id = aml.move_id -where (am.move_type = 'out_invoice' or am.journal_id = 3) +where 1=1 +--and (am.move_type = 'out_invoice' or am.journal_id = 3) and aml.write_date >= (now() - '5 days'::interval) 0 -- cgit v1.2.3