mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-21 10:19:57 +00:00
In `validate_manufacture`, `customer_warehouse` is read only inside the `skip_transfer` branch but was fetched unconditionally, wasting a lookup on the non-skip-transfer path. Move it inside the branch that uses it.