diff options
Diffstat (limited to 'import_account_move.ktr')
| -rw-r--r-- | import_account_move.ktr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/import_account_move.ktr b/import_account_move.ktr index c126c55..fcfb96d 100644 --- a/import_account_move.ktr +++ b/import_account_move.ktr @@ -1020,7 +1020,8 @@ </partitioning> <connection>erp indoteknik production (localhost)</connection> <sql>select am.* from account_move am -where (am.move_type = 'out_invoice' or journal_id = 3) +where 1=1 +--and (am.move_type = 'out_invoice' or journal_id = 3) and am.write_date >= (now() - '5 days'::interval)</sql> <limit>0</limit> <lookup/> |
