2 self-hostable options with public code.
ERP for small and mid-size companies
Modular business apps for sales, accounting and inventory