Add operation workflow to Beam mobile#342
Conversation
📝 Draft Changelog EntryChangelog EntryThis update adds comprehensive job card functionality to the manufacturing workflow. Job cards can now be created, saved, and tracked with associated time logs. The operation workflow has been expanded to support job card management, including the ability to set the current employee and track department information. Testing coverage has been added for job card operations to ensure reliability. The manufacturing user role has been introduced to support proper access control for job card-related tasks. Documentation has been updated with instructions for running backend and frontend tests. Fixed an issue where department changes were not being properly handled in the workflow. Code quality improvements have been made to align with project linting standards. This changelog entry was automatically generated by the Changelog Generator Action. |
Draft Changelog EntryChangelogThe Job Card Operation workflow has been implemented for the Beam mobile interface. Manufacturing users can now start, pause, and finish job card operations directly from their mobile devices with real-time tracking of elapsed time and completed quantities. The operation screen displays a live timer that accurately tracks work duration across page reloads by calculating elapsed time from recorded time logs. The timer uses timezone-safe calculations to ensure consistency between the mobile app and backend system. Users can record the quantity of items completed during each operation session. The workflow includes validation checks to prevent conflicting operations. When starting or finishing an operation, the system verifies the current status both on the mobile device and in the backend system to ensure data integrity. A new employee user account has been added to the system for testing purposes. Manufacturing users can now assign job cards to themselves through the mobile interface. This changelog entry was automatically generated by the Changelog Generator Action. |
|
I replaced Accordion
DetailsI added a new test user: Cassidy Reyes. I also added custom Job Card endpoints in The main reason for the custom endpoint is that ERPNext's standard Job Card flow was hitting Employee user-permission issues when a different employee tried to continue a Job Card that had already been started by someone else. With this flow:
This matches the workflow we discussed: multiple employees can contribute to the same Job Card without creating/submitting separate Job Cards for each person. DemoScreen.Recording.2026-05-07.at.2.31.31.PM.mov |

Implement Job Card Operation Workflow
Adds a complete job card workflow for the Beam mobile interface with real-time timer, quantity tracking, and proper status validation.
Changes
make_time_logfrappe.datetime.now_datetime()to ensure the frontend gets the same timezone that the backend usesFixtures
Tests
test_job_card_operation.pycovering operation details display, timer start/pause, and timer stop with time log recordingDemo
Screen.Recording.2026-04-30.at.3.29.21.PM.mov