Commit a3a4b61
committed
[IMP] account_statement_import_sheet_file_bg: Filter empty rows by date column
Stop processing Excel rows when timestamp column is empty
Previously, the import would process all rows in the Excel file until
the end, including thousands of empty rows. This caused performance
issues and unnecessary data processing.
Now the system:
- Identifies the date/timestamp column from sheet_mapping_id configuration
- Only processes rows where the timestamp column has a value
- Stops processing at the first empty timestamp row
This prevents importing empty rows and improves performance when
handling Excel files with many empty rows at the end.
closes #356
X-original-commit: ded1456
Signed-off-by: Filoquin adhoc <maq@adhoc.com.ar>
Signed-off-by: rov-adhoc <rov@adhoc.com.ar>1 parent 8003a58 commit a3a4b61
1 file changed
Lines changed: 29 additions & 1 deletion
Lines changed: 29 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
148 | 159 | | |
149 | 160 | | |
150 | 161 | | |
| |||
171 | 182 | | |
172 | 183 | | |
173 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
0 commit comments