Approval Rules on Shop Floor
by CLuedoo https://www.cluedoo.com/shop/lic-clu-set-mrp-0051-approval-rules-on-shop-floor-7049$ 200.89
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Employees (hr) • Discuss (mail) • Inventory (stock) |
| Community Apps Dependencies | Show |
| Lines of code | 446 |
| Technical Name |
cds_js_approval_shopfloor |
| License | OPL-1 |
| Website | https://www.cluedoo.com/shop/lic-clu-set-mrp-0051-approval-rules-on-shop-floor-7049 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Employees (hr) • Discuss (mail) • Inventory (stock) |
| Community Apps Dependencies | Show |
| Lines of code | 446 |
| Technical Name |
cds_js_approval_shopfloor |
| License | OPL-1 |
| Website | https://www.cluedoo.com/shop/lic-clu-set-mrp-0051-approval-rules-on-shop-floor-7049 |
ODOO'S FUNCTION
In Odoo, the Mark as Done and Close Production buttons in the Shop Floor are handled directly through JavaScript instead of standard server actions, so Studio Approval Rules cannot be triggered automatically.
CLUEDOO'S FUNCTION
CLuedoo introduces CDS Approval Rules to replace Studio Approval Rules, enabling approval workflows for the Mark as Done and Close Production buttons in the Shop Floor.
|
1. Go to
Settings > CDS Approval > CDS Approval Rules
> Create new rules
Exemple: For WO, there is a two-step approval process (John Doe → Mitchell Admin). For MO, approval to Close Production is also required. |
|
|
2. Create a finished product > add a BoM with its
Operations
|
|
|
3. Log in as a normal user (not approver) > Create a
Manufacturing Order
>
Confirm
> Start the work order(s) >
Open Shop Floor
|
|
|
4. Do the work order(s) and click
Mark As Done
> A warning asking for approval will show up
|
|
|
After the first approver (John Doe) marks the Work Order as done, a message saying Approval Success will appear. If he tries to Mark as Done the WO again, the warning Access Denied will show up, because the second approver is Mitchell Admin. |
|
|
5. After the second approver (Mitchell Admin) marks the Work Order as done, a message saying
Final Approval Completed
will appear.
|
|
|
6. If Mitchell Admin clicks Close Production , the Access Denied message appears because the approver of this step is John Doe.
When John Doe logs in, he can close the production.
|
|
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module