Multi-level approval using odoo (openerp) Workflow

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.