Tuesday, May 4, 2021
2 changes · master
Enhancements to existing features
Work orders now show whether they are ready or waiting based on component availability, making production priorities easier to understand. Ready and waiting statuses are visually distinguished, while users can still proceed with work orders when needed.
Original PR description
- The work order state changes based on the availability of the components - So if all BOM components are ``available`` the state of the first WO is set to ``ready`` - The color of ``ready`` in the WO tree editable view will stay blue as long as ``done`` reserves the green color - If one or multiple components are not available, the state of the first WO is set to ``waiting`` - The color of ``waiting`` in the WO tree editable view is set to orange - By default ``To launch`` takes ``workorder_ready_count`` so it counts only ``ready`` WOs - The user can always process the WO without restrictions even if the WO state is ``waiting`` Task ID: 2426773
Resolved issues and error corrections
Changing a product's costing method no longer posts neutral valuation adjustments to the expense account when there are no stock valuation layers. The adjustment now uses the stock input account, keeping the accounting impact balanced and preventing misleading expense entries.
Original PR description
Previously when changing cost method, we always add debit to Expense account when empty svl. This results in an unneutral change for process that should be neutral. In this commit, we change to use stock input account to make it neutral. Task 2481563 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr