Since https://github.com/odoo/odoo/pull/104062, the location and scrap location id fields on a scrap order are no longer editable (even while still in draft). To reproduce: - Enable storage locations in settings - Create a new scrap order Bug: The source and draft location are readonly. This fix restores the intended behaviour to make these fields editable while in draft state and adds a test to confirm this behaviour. Task: 3266655 Community PR: https://github.com/odoo/odoo/pull/117931 closes odoo/odoo#118177 X-original-commit: 1dcc9ade1793a562e5df20336241d2a025c5e14c Signed-off-by: Tiffany Chang <tic@odoo.com>