No description
Find a file
Suraj Shetty c71c132ba2 Workflow actions (#5598)
* 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
2018-05-30 11:24:49 +05:30
.github Delete ISSUE_TEMPLATE.md 2018-04-04 16:38:01 +05:30
ci add my_config patch to travis 2014-10-12 18:54:44 +05:30
frappe Workflow actions (#5598) 2018-05-30 11:24:49 +05:30
rollup [build] Don't minify css files if they are part of project (#5405) 2018-04-08 12:59:52 +05:30
test_sites [refactor] Language is now a doctype (#2003) 2016-08-23 16:38:03 +05:30
.eslintignore Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
.eslintrc New Build System: Rollup (#5010) 2018-02-20 13:47:48 +05:30
.gitignore Update .gitignore 2018-03-01 16:12:41 +05:30
.travis.yml [fix] .travis.yml 2018-05-28 11:15:07 +05:30
attributions.md Non Pour Accent! (#5427) 2018-04-10 22:53:42 -08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-09-12 09:14:34 +05:30
hooks.md Non Pour Accent! (#5427) 2018-04-10 22:53:42 -08:00
LICENSE Update LICENSE 2018-04-12 17:27:20 +05:30
Makefile [NEW] Makefile to clean cache without restart 2018-03-08 15:18:32 +05:30
MANIFEST.in Fixed manifest and website 2014-06-09 13:21:57 +05:30
package.json Datatable fixes (#5569) 2018-05-18 13:33:48 +05:30
README.md Update README to add new logo (#4979) 2018-02-07 16:46:06 +05:30
requirements.txt [minor] add pdfkit to requirements.txt 2018-05-23 16:13:34 +05:30
setup.py removed bad code and made compatible with pip 10 (#5458) 2018-04-30 11:22:09 +05:30
socketio.js [min] remove dead code 2018-03-31 16:40:59 +05:30
yarn.lock Datatable fixes (#5569) 2018-05-18 13:33:48 +05:30

Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext

Table of Contents

Installation

Install via Frappe Bench

Contributing

  1. Pull Request Requirements
  2. Translations

Website

For details and documentation, see the website https://frappe.io

License

This repository has been released under the MIT License.