diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-10-09 15:30:59 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-10-09 15:30:59 +0700 |
| commit | 239b817430af03f9840f7805232491240d40ddf0 (patch) | |
| tree | e39867e42fe21d433a2ad18159beff6dc75a0813 /import_account_move.ktr | |
| parent | 0676870c358845e2b27abb211d370777d9a6492b (diff) | |
add filter out_invoice
Diffstat (limited to 'import_account_move.ktr')
| -rw-r--r-- | import_account_move.ktr | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/import_account_move.ktr b/import_account_move.ktr index 5c16c43..b7155fb 100644 --- a/import_account_move.ktr +++ b/import_account_move.ktr @@ -1009,7 +1009,9 @@ <schema_name/> </partitioning> <connection>erp indoteknik production (localhost)</connection> - <sql>select * from account_move where write_date >= (now() - '5 days'::interval)</sql> + <sql>select am.* from account_move am +where am.move_type = 'out_invoice' +and am.write_date >= (now() - '5 days'::interval)</sql> <limit>0</limit> <lookup/> <execute_each_row>N</execute_each_row> |
