If there are multiple Email Accounts with the same append_to,
then the first one is fetched which is incorrect if there is an
Email Account for the current user.
Now it is first filtered by email_id, if not found falls back to old
behaviour.
* Enqueue send email job
* Allow user to apply action without login
* Reorganize method
* Show username instead of email
* Refactor send email job
* Fix python 3 test
* Fix python 3 tests
- send user data list instead of dict-view
https://stackoverflow.com/a/16228268
* Modify Report Addresses and Contacts
Removed party type references and moved that to a new report in ERPNext.
* Change label to Reference Type
* Rename labels
* Remove extra print msg
* Pass user value while checking role permission
* Hide submit & cancel option in list view if workflow is enabled
* Fix Codacy
* Update README.md
* refactor for better readability
adds ability to name by concatenating fields
add comments
PEP 8 fixes
throw error when field option autoname fails
adds concatenation option description to DocType doctype
* codacy
* remove explicit cast to `str`
* more pep8 fixes
* revert incorrect link
* code review - move internal functions to bottom of module
* Add feature for auto-(un)publishing Web Pages
* Move some publish logic to frontend
* Cleanup some logic
* Remove arbitrary limits and add check for start date
* Init workflow actions
- WIP code
- Add hooks to create and update
workflow action on document status changes.
- Tweak listview to show host document on list view item click
- Add new doctype "Pending Workflow Action"
- Add allow_self_approval check in Workflow master
* Rename doctypes
- Rename "Workflow Action" to "Workflow Action Master"
- Rename "Pending Workflow Action" to "Workflow Action"
- Remove irrelevant files
* Clear old workflow action on docstatus change
- Add check for user permission before creating a workflow action record
- Make doctype changes to support the Workflow Action System
* Show host document only if workflow action status is open
* Send workflow action mail notifications
* Add patch to rename `tabWorkflow Action` to `tab Workflow Master`
- Rename table to retain data in `tabWorkflow Action` as it
will be overwritten with new structure on migration
* Enqueue email
* Remove unused files
* Add hook for custom has_permission
* Optimize send_workflow_action_email method
* Add permission_query_condition hook
* Show notification based on status
* Override get_form_link in list view
* Refactor workflow action
- Add action link
- update workflow action hooks
* Avoid repeated creation of Worklow Actions
- Update hooks entry to avoid unwanted method call
* Fix error with frappe.db.count usage
* Fix ui/ux for Workflow Action
- Fix action url and improve response on action button click
- Fix workflow action template style
* Fix Codacy
* Add self approval check
* Fix codacy
* Fix test
* Fix python version confilct and a permission error
* Fix incorrect 'this' reference
* Update with requested changes
* Add next action email template option
* Fix string formatting
* Refactor workflow Action
- Make process_workflow_action smaller
* Fix bugs and errors due to refactor
* Fix workflow field caching
* Add a workflow action test
* Fix bugs with email template