Thursday, April 4, 2019
1 change
Resolved issues and error corrections
Creating a manufacturing work order from the Gantt or grid view could fail because a required rounding value was missing. This fix ensures the process uses a safe default only when needed, preventing the crash and allowing users to create work orders normally.
Original PR description
- In master for grid view we have added + icon to create order,at time of mrp.workorder creation from grid, default_get is not called for uom.uom, so we don't have default value of rounding. - therefore, set rounding value to '0.01' when there is no rounding. Related to Issue: 1957994 Description of the issue/feature this PR addresses: traceback when I create a work order from Gantt view Current behavior before PR: traceback when I create a work order from Gantt view Desired behavior after PR is merged: traceback resolved when I create a work order from Gantt view Pad: https://pad.odoo.com/p/r.2f546e232fb318a8b9aeec3fc9950b1c Issue: https://www.odoo.com/web#id=1957994&action=327&model=project.task&view_type=form&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr