Faris Ansari
660a1d43d2
fix: Commonify autoname_field code
2019-09-30 13:38:41 +05:30
Faris Ansari
d87f60b177
fix: Child row parsing logic
...
if the row is blank, it's a child row doc
if the row has same values as parent row, it's a child row doc
if any of those conditions dont match, it's the next doc
2019-09-30 13:36:31 +05:30
Faris Ansari
a38aca52c0
fix: Freeze Start Import button on click
2019-09-30 12:45:54 +05:30
Faris Ansari
928ce50206
style: fix errors reported by codacy
2019-09-29 22:42:05 +05:30
Faris Ansari
63c4991ef9
fix: Refresh import preview on form change
2019-09-29 22:42:05 +05:30
Faris Ansari
c917dda03a
fix: Skip invalid link values
2019-09-29 22:42:05 +05:30
Faris Ansari
9f9a1ecba3
fix: Run in background if not in developer_mode or not in_test
2019-09-29 22:42:05 +05:30
Faris Ansari
779084991e
refactor
...
- Parse template and build self.rows and self.columns
- Store header_row data in columns along with df and skip_import
- Use self.columns and self.rows without passing them explicitly
- Remove the ability to edit rows
- Show only first 10 rows as preview
- Build doc with default values set
- Show Dashboard progress when coming back from another view
- Better ETA Message inspired from Apple
- Action buttons "Export Errored Rows" and "Go to DocType List"
- Import status "Imported x out of y records"
- Success / Failure column in import log
2019-09-29 22:42:05 +05:30
Faris Ansari
4116e17bb3
fix: Mute emails in during import
2019-09-29 22:42:05 +05:30
Faris Ansari
13df26eaab
fix: Show 10 rows in preview
2019-09-29 22:42:05 +05:30
Faris Ansari
d5c6a69e23
fix: Select "Don't Import" to skip a column
...
- Remove separate skip_column structure
- Simpler Map Columns dialog
2019-09-29 22:42:05 +05:30
Faris Ansari
addc20cde4
fix: Update datatable
2019-09-29 22:42:05 +05:30
Faris Ansari
056ad75bc2
fix: Automatically create Link field dependencies
2019-09-29 22:41:30 +05:30
Faris Ansari
a71f8f95b8
fix: Show template warnings
2019-09-29 22:41:30 +05:30
Faris Ansari
44028ce23a
fix(test_runner): Load file if exists
2019-09-29 22:41:30 +05:30
Faris Ansari
5e8a56b444
fix: Rollback on exception
2019-09-29 22:41:30 +05:30
Faris Ansari
23d6e27f80
fix: Option to export 5 records
2019-09-29 22:41:30 +05:30
Faris Ansari
3b7b0f24dc
fix: Commit after every doc import
2019-09-29 22:41:30 +05:30
Faris Ansari
cd961cb9ae
fix: Validate template on attach
2019-09-29 22:41:30 +05:30
Faris Ansari
7927f5c8c4
fix(progress): Always show green progress
2019-09-29 22:41:30 +05:30
Faris Ansari
f86a5af729
fix: Update attach immediately
2019-09-29 22:41:30 +05:30
Faris Ansari
d2fe007177
fix(xls): Don't remove first row
2019-09-29 22:41:30 +05:30
Faris Ansari
b024d0f892
fix: Check for mandatory fields
2019-09-29 22:41:30 +05:30
Faris Ansari
ebb111aaf8
fix: Set only once Document Type and Import Type
2019-09-29 22:41:30 +05:30
Faris Ansari
2fc34effb4
fix: Show message when scheduler in inactive
2019-09-29 22:41:29 +05:30
Faris Ansari
df3236a98a
fix: Set Export Type based on Import Type
2019-09-29 22:41:29 +05:30
Faris Ansari
b33d202a7a
fix: Download Template button
2019-09-29 22:41:29 +05:30
Faris Ansari
5c533dc90d
fix: Filter styling
2019-09-29 22:41:29 +05:30
Faris Ansari
1cccb33bad
feat: Reload attached file
2019-09-29 22:41:29 +05:30
Faris Ansari
08214d2d63
fix: Remove "Select mandatory without children"
2019-09-29 22:41:29 +05:30
Faris Ansari
12f2d03a70
fix: Scroll to warning box
2019-09-29 22:41:29 +05:30
Faris Ansari
626c2b4070
fix: Structured warnings grouped by rows
2019-09-29 22:41:29 +05:30
Faris Ansari
fbfa078147
fix: as_dict
...
- convert_dates_to_str should work for non df fields
2019-09-29 22:41:29 +05:30
Faris Ansari
cd3ee90262
fix(Form API): scroll_to_field
2019-09-29 22:41:29 +05:30
Faris Ansari
91554f43df
fix: Show successful imports in Import Log
2019-09-29 22:41:29 +05:30
Faris Ansari
1bfd7d3731
fix: Column Mapping
...
- Remove double headers
- Indicate match with indicators
- Column Mapping Dialog
- Handle untitled columns
2019-09-29 22:41:29 +05:30
Faris Ansari
e09b45ed81
fix: List view formatting
2019-09-29 22:41:29 +05:30
Faris Ansari
d07ac06e5c
fix: Export to Excel
2019-09-29 22:41:29 +05:30
Faris Ansari
07eedad5bb
fix: Parse .xls and .xlsx files in import
2019-09-29 22:41:29 +05:30
Faris Ansari
5b193f5672
fix: Dont load preview for more than 500 rows
2019-09-29 22:41:29 +05:30
Faris Ansari
2b42838917
fix: Export errored rows into a separate file
2019-09-29 22:41:29 +05:30
Faris Ansari
6d192d0766
fix: Validate values by fieldtype
2019-09-29 22:41:29 +05:30
Faris Ansari
9bd3933f53
fix: Match standard fields in import template
2019-09-29 22:41:29 +05:30
Faris Ansari
70faaff8b4
fix: Submit after import
2019-09-29 22:41:29 +05:30
Faris Ansari
dca054aa0c
fix: Persistent template warnings
2019-09-29 22:41:29 +05:30
Faris Ansari
6f2fdbf106
fix: Ignore non reqd tables in Select Mandatory
2019-09-29 22:41:29 +05:30
Faris Ansari
fc28a7eb72
fix: Show ETA
2019-09-29 22:41:29 +05:30
Faris Ansari
87e525d40c
fix: Run Import in background job
2019-09-29 22:41:29 +05:30
Faris Ansari
d960affe19
fix: Realtime update message for import types
2019-09-29 22:41:29 +05:30
Faris Ansari
a1216c929e
fix: name column matching
2019-09-29 22:41:29 +05:30