summaryrefslogtreecommitdiff
path: root/import_account_move_line_onetime.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-05-13 17:35:44 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-05-13 17:35:44 +0700
commit48d9f4c2b6b8e9b60334e1b9f49e27fc9545a0de (patch)
treeed7468004240a5baa1711f17a4443580e2c484d8 /import_account_move_line_onetime.ktr
parentbadbbd519c83f68a57c65b210000fdc35a00889f (diff)
change import account move onetime
Diffstat (limited to 'import_account_move_line_onetime.ktr')
-rw-r--r--import_account_move_line_onetime.ktr2
1 files changed, 1 insertions, 1 deletions
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 @@
<connection>erp indoteknik production (localhost)</connection>
<sql>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)</sql>
<limit>0</limit>