Daily updates from Odoo
Monday, October 8, 2018
1 change · master
Code cleanup and technical improvements
This change simplifies the internal logic used when starting a manufacturing work order. It removes unnecessary repeated handling in a process that is designed for one work order at a time, making the code easier to maintain without changing expected user behavior.
Original PR description
The method button_start begins by an ensure_one() but loop on self too. This commit removes to loop for cleaner code. Task : 1850640 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr