summaryrefslogtreecommitdiff
path: root/import_account_move_line.ktr
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-05-08 11:11:05 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-05-08 11:11:05 +0700
commit0ac6c227f0fba64af0908f2df9baadc270b15d80 (patch)
tree56000f16bd5e8042ef7ec2bcbdf75258d49a8d3f /import_account_move_line.ktr
parent19aaa36b90c75a1f3cc77b55f7f8ab97648f0a61 (diff)
import account move onetime - import all data
Diffstat (limited to 'import_account_move_line.ktr')
-rw-r--r--import_account_move_line.ktr3
1 files changed, 2 insertions, 1 deletions
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 @@
<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' 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)</sql>
<limit>0</limit>
<lookup/>