The hr_expense module of openerp provides the foundation for our expansion.
Customer requirement: it should be based on the employee's reimbursement quota to set the approval level (similar to the configuration of Java jbpm workflow), for example:
A. Reimbursement of 10 RMB is only available for approval by the superior manager of the employee.
B. 1000 RMB for reimbursement. After the superior manager of the employee approves the reimbursement, the department manager is required to review the reimbursement;
Workflow:
1. Add (modify) the status, for example, "new"> "first-trial"> "second-trial"> "Payment ".
2. After checking the new employee fee, submit the ticket. The status of the newly created employee changes to the first trial. when the first trial passes, the employee determines whether the second trial is required. If necessary, the status changes to the second trial, if this parameter is not required, the status changes to payment. Add a few more review is also the case, but the review is too much for the staff is not good 650) This. width = 650; "src =" http://ctc.qzs.qq.com/qzone/em/e120.gif "/>
Is it easy? Yes. that's easy to think about.
Continue expansion:
1. Objects for approval
First, you need to display the records that need to be approved by yourself in the charges, which requires the permission group and rules
The second step is to limit that only this role can perform migration, which is part of the workflow.
2. How to notify the reason for rejection?
Use SNS