| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Inventory (stock) • Discuss (mail) |
| Lines of code | 129 |
| Technical Name |
tablet_view_real_duration_wo |
| License | OPL-1 |
| Website | https://www.linkedin.com/in/mellisafr/ |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Inventory (stock) • Discuss (mail) |
| Lines of code | 129 |
| Technical Name |
tablet_view_real_duration_wo |
| License | OPL-1 |
| Website | https://www.linkedin.com/in/mellisafr/ |
MRP Workorder Real-Time Duration
Keep your work order timers running accurately in real-time, even when you close the tablet view to check other tasks.
The Problem
Timer Stops When You Close Tablet View
In standard Odoo, when an operator opens tablet view to start a work order, then closes the tablet view to check something else, the timer automatically pauses. This leads to inaccurate time tracking and productivity measurement issues.
The Solution
Timer Keeps Running Until You Click Pause
This module ensures your production timers keep running accurately in real-time, even when the tablet view is closed. Operators can freely multitask without losing track of work time!
Key Features
Real-Time Duration Calculation
Duration continues to update in real-time even when tablet view is closed
Accurate Time Tracking
Timer only stops when operator manually clicks Pause or Done button
No Configuration Needed
Works immediately after installation with zero configuration required
Smart Auto-Update
Uses computed fields with @api.depends for accurate automatic updates
How It Works
- Open Tablet View - Start your work order from the tablet interface
- Click Start - Begin the timer for your operation
- Close Tablet View - Timer keeps running in the background â
- Check Other Tasks - Freely navigate Odoo while timer continues
- Reopen Work Order - See updated real-time duration
- Click Pause/Done - Manually stop the timer when finished
Technical Details
Models Modified
mrp.workorder- Override_compute_duration()mrp.workcenter.productivity- Real-time timer calculation
New Fields
is_user_working(Boolean) - Track working status
Methods Override
button_start()- Set is_user_working = Truebutton_pending()- Manual pause (is_user_working = False)button_finish()- Complete work orderaction_back()- Prevent auto-pause on view close_compute_duration()- Real-time calculation with datetime.now()
Benefits for Your Business
Accurate Time Tracking
Get precise production time data for better planning and costing
Improved Productivity
Operators can multitask freely without worrying about timers
Better Analytics
Real production data leads to better performance analysis
Installation & Support
Easy Installation
1. Install the module from Apps menu
2. No configuration required
3. Start using immediately!
Dependencies
⢠Manufacturing (mrp)
⢠Work Order Management (mrp_workorder)
Get Support
Need help or have questions?
Create an issue on GitHub
About the Author
Developed by Mellisa FR
Connect on LinkedIn
Ready to improve your manufacturing time tracking?
Install now and experience real-time duration tracking!
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