* created/moved the files
* added the model for the downloading the data
* add the file with the error data
* changes added other changes and fix codacy
* changes in the config and utils files
* fixed the test cases
* minor changes in the data keys dict
* changed the test file location
* fixed the tests
* set the route in the list view and show only erors
* minor fixes in the childtable import and log tables rendering
* Refactor Download dialog to use MultiCheck
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
* dict.iteritems to six.iteritems(dict) for python3 compatibility
Only name is currently taken from DB, other fields are mandatory to generate translations:
File "/Users/pau/frappe-bench/env/lib/python2.7/site-packages/frappe/translate.py", line 407, in get_messages_from_custom_fields
if cf['fieldtype'] == 'Selection' and cf.get('options'):
KeyError: u'fieldtype'
Move the method to `get_messages_from_workflow` from `get_messages_for_app` to inside `get_messages_from_doctype` to get workflow translations reflected in Js
I added in the translations the behavior of collect translations for;
- Workflow Actions
- Workflow States
- Custom Fields
This patch make sense when I'm translating a single app without revisions in ERPNext or Frappe translations.
Using a patched version of the translation portal I'm being able of translate a single app, and I found that in these cases workflows actions/states are missed, and Custom Fields too, the actual behavior ensure that :
- Workflow based messages will be exported first based on the doctype
- Workflow based messages will be exported based on app only if the workflow is a fixture
- Custom Fields messages will be exported based on app only if the custom field is a fixture.
Note: Messages based on fixtures, will check a presence of a filter, if nothing is return this patch will understand that everything will be exported.