apparently this occurs when get_notifcations is called, and at the same time, a table is being modified. to fix this, we just skip the table that is currently being modified.
Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
* 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
- Publish realtime message when notifications are cleared
- Refresh notifications on client on clear_notifications event
- refresh_notfications will be called only once in a 1 second window
- No more 30 sec polling
* Fixed dict_keys and lists
* [FIX] config.get keys must be list
* [FIX] pickle all objects
* [FIX] get versions in unicode
* [FIX] get log versions
* debugging
* Fixed commit ID reference
* Fixed branch reference
* Fixed doc keys to list
* [LOG] test log
* [LOG] test log
* Convert iterators to list
* removed logs
* [FIX] Trial to load templates
* Fixed codacy
* [sales goal] in company; graph, notifs
* cleanup notifications.js, summary and specific val in graph
* Add line graph, add goal data methods in goal.py
* [tests] targets in notification config
* [minor] type of graph as argument in parent
* Update graph docs
* remove company dependent test for notification
* [fix] test
* look for monthly history in cache
* check for cached graph data in field