summaryrefslogtreecommitdiff
path: root/import_account_move_line.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-11-16 17:15:42 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-11-16 17:15:42 +0700
commit984ff84af0f042afafc0bfeee76f381d4558d9c6 (patch)
tree82fbbfba8608eea652f0801c7193fe4513ce88af /import_account_move_line.ktr
parent884b6d1595df520f4f20cca53f387e8d3d88f4b2 (diff)
one time import account move
Diffstat (limited to 'import_account_move_line.ktr')
-rw-r--r--import_account_move_line.ktr4
1 files changed, 2 insertions, 2 deletions
diff --git a/import_account_move_line.ktr b/import_account_move_line.ktr
index 71fd501..04082d0 100644
--- a/import_account_move_line.ktr
+++ b/import_account_move_line.ktr
@@ -891,8 +891,8 @@
<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 am.move_type = 'out_invoice'
-and aml.write_date >= (now() - '5 days'::interval)</sql>
+where (am.move_type = 'out_invoice' or am.journal_id = 3)
+--and aml.write_date >= (now() - '5 days'::interval)</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>