Daily updates from Odoo
Wednesday, June 13, 2018
1 change · master
Resolved issues and error corrections
Maintenance equipment can no longer be deleted while related maintenance requests still exist. Users must first remove the equipment from those requests, ensuring the change is logged and the request history remains clear.
Original PR description
…change Description of the issue/feature this PR addresses: Any equipment can be deleted without taking care of the existing requests for this equipment. Current behavior before PR: Deleting an equipment removes the equipment from the existing requests linked to this equipment, but we have no clue on what happened looking at the existing requests. Desired behavior after PR is merged: Deleting an equipment will throw an error if requests are existing for this equipment. To remove an equipment, the user should first remove the equipment from its requests, what will trigger a log in mail.thread. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr