Files
erpnext/erpnext/patches
Mihir Kandoi 26613d258e refactor: move warehouse defaults from Stock Settings to Company
Default Warehouse and Sample Retention Warehouse were global singles, so every
consumer had to re-check that the warehouse belonged to the transaction's
company before using it. Both now live on Company, under a new Warehouse
Defaults section that also collects the warehouse fields Company already had.

The company check moves to Company.validate_warehouses, which also rejects
group warehouses for all seven fields — a group or cross-company value there
already failed at SLE time, this just surfaces it at the source.

New companies get their Stores warehouse as Default Warehouse via
create_default_warehouses, replacing the setup-wizard and test-fixture code
that seeded the global.
2026-07-28 19:29:18 +05:30
..
2022-03-28 18:52:46 +05:30
2022-03-28 18:52:46 +05:30
2022-03-28 18:52:46 +05:30
2026-01-01 21:56:12 +05:30
2025-11-19 21:36:37 +05:30
2026-01-01 21:56:12 +05:30
2021-11-05 11:16:29 +05:30