<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>363</ContextCount>
  <ElementCount>444</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>94</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>75000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>75010 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>75020 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>75030 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>75040 - Statement - STATEMENTS OF SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_StatementSTATEMENTSOFSHAREHOLDERSEQUITY</Role>
      <ShortName>STATEMENTS OF SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>75050 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995455 - Disclosure - Cybersecurity Risk Management, Strategy and Governance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance</Role>
      <ShortName>Cybersecurity Risk Management, Strategy and Governance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995465 - Disclosure - DESCRIPTION OF BUSINESS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureDESCRIPTIONOFBUSINESS</Role>
      <ShortName>DESCRIPTION OF BUSINESS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995485 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995495 - Disclosure - REVENUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureREVENUE</Role>
      <ShortName>REVENUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995505 - Disclosure - ACCOUNTS RECEIVABLE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCOUNTSRECEIVABLE</Role>
      <ShortName>ACCOUNTS RECEIVABLE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995515 - Disclosure - INVENTORIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINVENTORIES</Role>
      <ShortName>INVENTORIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995525 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosurePREPAIDEXPENSESANDOTHERCURRENTASSETS</Role>
      <ShortName>PREPAID EXPENSES AND OTHER CURRENT ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995535 - Disclosure - PROPERTY AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosurePropertyAndEquipment</Role>
      <ShortName>PROPERTY AND EQUIPMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995545 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995555 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETS</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLE ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995565 - Disclosure - ACCRUED EXPENSES AND OTHER</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCRUEDEXPENSESANDOTHER</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995575 - Disclosure - NET (LOSS) INCOME PER COMMON SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureNetLossIncomePerCommonShare1</Role>
      <ShortName>NET (LOSS) INCOME PER COMMON SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995585 - Disclosure - LONG-TERM DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLONGTERMDEBT</Role>
      <ShortName>LONG-TERM DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995595 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995605 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureCOMMITMENTSANDCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995615 - Disclosure - SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSHAREHOLDERSEQUITY</Role>
      <ShortName>SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995625 - Disclosure - RESTRICTED SHARES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestrictedShares1</Role>
      <ShortName>RESTRICTED SHARES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995635 - Disclosure - SEGMENT DATA</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSEGMENTDATA</Role>
      <ShortName>SEGMENT DATA</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995655 - Disclosure - RESTRUCTURING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestructuring1</Role>
      <ShortName>RESTRUCTURING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995665 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995685 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995695 - Disclosure - REVENUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureREVENUETables</Role>
      <ShortName>REVENUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureREVENUE</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995705 - Disclosure - ACCOUNTS RECEIVABLE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCOUNTSRECEIVABLETables</Role>
      <ShortName>ACCOUNTS RECEIVABLE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCOUNTSRECEIVABLE</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995715 - Disclosure - INVENTORIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINVENTORIESTables</Role>
      <ShortName>INVENTORIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINVENTORIES</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995735 - Disclosure - PROPERTY AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosurePropertyAndEquipmentTables</Role>
      <ShortName>PROPERTY AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosurePropertyAndEquipment</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995745 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASES</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995755 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSTables</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLE ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETS</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995765 - Disclosure - ACCRUED EXPENSES AND OTHER (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCRUEDEXPENSESANDOTHERTables</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCRUEDEXPENSESANDOTHER</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995775 - Disclosure - NET (LOSS) INCOME PER COMMON SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureNetLossIncomePerCommonShareTables</Role>
      <ShortName>NET (LOSS) INCOME PER COMMON SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureNetLossIncomePerCommonShare1</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995785 - Disclosure - DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureDebtTables</Role>
      <ShortName>DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995795 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXES</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995815 - Disclosure - RESTRICTED SHARES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestrictedSharesTables</Role>
      <ShortName>RESTRICTED SHARES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestrictedShares1</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995825 - Disclosure - SEGMENT DATA (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSEGMENTDATATables</Role>
      <ShortName>SEGMENT DATA (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSEGMENTDATA</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995835 - Disclosure - RESTRUCTURING (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestructuringTables</Role>
      <ShortName>RESTRUCTURING (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestructuring1</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995865 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995875 - Disclosure - REVENUE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureREVENUENarrativeDetails</Role>
      <ShortName>REVENUE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995885 - Disclosure - REVENUE - Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureREVENUEDisaggregationOfRevenueDetails</Role>
      <ShortName>REVENUE - Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995895 - Disclosure - REVENUE - Product Revenue (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRevenueProductRevenueParentheticalDetails</Role>
      <ShortName>REVENUE - Product Revenue (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995905 - Disclosure - REVENUE - Summary of Contract Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureREVENUESummaryOfContractAssetsAndLiabilitiesDetails</Role>
      <ShortName>REVENUE - Summary of Contract Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995915 - Disclosure - REVENUE - Summary of Contract Assets and Liabilities (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRevenueSummaryOfContractAssetsAndLiabilitiesParentheticalDetails</Role>
      <ShortName>REVENUE - Summary of Contract Assets and Liabilities (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995925 - Disclosure - ACCOUNTS RECEIVABLE (Accounts Receivable and Allowance for Doubtful Accounts) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCOUNTSRECEIVABLEAccountsReceivableAndAllowanceForDoubtfulAccountsDetails</Role>
      <ShortName>ACCOUNTS RECEIVABLE (Accounts Receivable and Allowance for Doubtful Accounts) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCOUNTSRECEIVABLETables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995935 - Disclosure - ACCOUNTS RECEIVABLE - Summary of Orion' s allowance for credit losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureAccountsReceivableSummaryOfOrionSAllowanceForCreditLossesDetails</Role>
      <ShortName>ACCOUNTS RECEIVABLE - Summary of Orion' s allowance for credit losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995945 - Disclosure - INVENTORIES (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINVENTORIESNarrativeDetails</Role>
      <ShortName>INVENTORIES (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINVENTORIESTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995955 - Disclosure - INVENTORIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINVENTORIESDetails</Role>
      <ShortName>INVENTORIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINVENTORIESTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995965 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosurePREPAIDEXPENSESANDOTHERCURRENTASSETSNarrativeDetails</Role>
      <ShortName>PREPAID EXPENSES AND OTHER CURRENT ASSETS (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosurePREPAIDEXPENSESANDOTHERCURRENTASSETS</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995975 - Disclosure - PROPERTY AND EQUIPMENT (Summary of Property and Equipment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosurePROPERTYANDEQUIPMENTSummaryOfPropertyAndEquipmentDetails</Role>
      <ShortName>PROPERTY AND EQUIPMENT (Summary of Property and Equipment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosurePropertyAndEquipmentTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995985 - Disclosure - PROPERTY AND EQUIPMENT (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosurePROPERTYANDEQUIPMENTNarrativeDetails</Role>
      <ShortName>PROPERTY AND EQUIPMENT (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosurePropertyAndEquipmentTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995995 - Disclosure - PROPERTY AND EQUIPMENT (Useful Lives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosurePROPERTYANDEQUIPMENTUsefulLivesDetails</Role>
      <ShortName>PROPERTY AND EQUIPMENT (Useful Lives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosurePropertyAndEquipmentTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>996005 - Disclosure - LEASES (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASESNarrativeDetails</Role>
      <ShortName>LEASES (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASESTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>996015 - Disclosure - LEASES (Summary of Assets Leased from Third Parties) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASESSummaryOfAssetsLeasedFromThirdPartiesDetails</Role>
      <ShortName>LEASES (Summary of Assets Leased from Third Parties) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASESTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>996025 - Disclosure - LEASES (Summary of Estimated Maturity of Lease Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASESSummaryOfEstimatedMaturityOfLeaseLiabilitiesDetails</Role>
      <ShortName>LEASES (Summary of Estimated Maturity of Lease Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASESTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>996045 - Disclosure - LEASES (Schedule of Revenue and Cost of Sales Arising from Sales-Type Leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASESScheduleOfRevenueAndCostOfSalesArisingFromSalesTypeLeasesDetails</Role>
      <ShortName>LEASES (Schedule of Revenue and Cost of Sales Arising from Sales-Type Leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureLEASESTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>996055 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSNarrativeDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLE ASSETS (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>996065 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS (Useful Lives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSUsefulLivesDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLE ASSETS (Useful Lives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>996075 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS (Summary of Components and Changes in Other Intangible Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSSummaryOfComponentsAndChangesInOtherIntangibleAssetsDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLE ASSETS (Summary of Components and Changes in Other Intangible Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996085 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS (Summary of Estimated Amortization Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSSummaryOfEstimatedAmortizationExpenseDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLE ASSETS (Summary of Estimated Amortization Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996095 - Disclosure - GOODWILL AND OTHER INTANGIBLE ASSETS (Summary of Amortization Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSSummaryOfAmortizationExpenseDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLE ASSETS (Summary of Amortization Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureGOODWILLANDOTHERINTANGIBLEASSETSTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996105 - Disclosure - ACCRUED EXPENSES AND OTHER (Accrued Expenses and Other) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCRUEDEXPENSESANDOTHERAccruedExpensesAndOtherDetails</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER (Accrued Expenses and Other) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCRUEDEXPENSESANDOTHERTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996115 - Disclosure - ACCRUED EXPENSES AND OTHER (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCRUEDEXPENSESANDOTHERNarrativeDetails</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCRUEDEXPENSESANDOTHERTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996125 - Disclosure - ACCRUED EXPENSES AND OTHER (Warranty Accrual) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCRUEDEXPENSESANDOTHERWarrantyAccrualDetails</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER (Warranty Accrual) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACCRUEDEXPENSESANDOTHERTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996135 - Disclosure - NET (LOSS) INCOME PER COMMON SHARE (Earnings per Share) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureNetLossIncomePerCommonShareEarningsPerShareDetails</Role>
      <ShortName>NET (LOSS) INCOME PER COMMON SHARE (Earnings per Share) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureNetLossIncomePerCommonShareTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996145 - Disclosure - NET (LOSS) INCOME PER COMMON SHARE (Potentially Dilutive Securities Excluded From the Calculation of Diluted Net (Loss) Income Per Common Share ) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureNetLossIncomePerCommonSharePotentiallyDilutiveSecuritiesExcludedFromTheCalculationOfDilutedNetLossIncomePerCommonShareDetails</Role>
      <ShortName>NET (LOSS) INCOME PER COMMON SHARE (Potentially Dilutive Securities Excluded From the Calculation of Diluted Net (Loss) Income Per Common Share ) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureNetLossIncomePerCommonShareTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996155 - Disclosure - DEBT (Summary of Long-Term Debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureDebtSummaryOfLongtermDebtDetails</Role>
      <ShortName>DEBT (Summary of Long-Term Debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996165 - Disclosure - DEBT (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureDebtNarrativeDetails</Role>
      <ShortName>DEBT (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996175 - Disclosure - DEBT (Aggregate Maturities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureDebtAggregateMaturitiesDetails</Role>
      <ShortName>DEBT (Aggregate Maturities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996185 - Disclosure - INCOME TAXES (Schedule of Components of Income Tax Expense or Benefit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESScheduleOfComponentsOfIncomeTaxExpenseOrBenefitDetails</Role>
      <ShortName>INCOME TAXES (Schedule of Components of Income Tax Expense or Benefit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996195 - Disclosure - INCOME TAXES (Reconciliation of Tax Rates) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESReconciliationOfTaxRatesDetails</Role>
      <ShortName>INCOME TAXES (Reconciliation of Tax Rates) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996225 - Disclosure - INCOME TAXES (Schedule of Deferred Tax Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESScheduleOfDeferredTaxAssetsDetails</Role>
      <ShortName>INCOME TAXES (Schedule of Deferred Tax Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996235 - Disclosure - INCOME TAXES (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996245 - Disclosure - INCOME TAXES (Unrecognized Tax Benefit Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESUnrecognizedTaxBenefitActivityDetails</Role>
      <ShortName>INCOME TAXES (Unrecognized Tax Benefit Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureINCOMETAXESTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996255 - Disclosure - INCOME TAXES - Reconciliation of the Statutory Federal Income Tax Rate And Effective Income Tax Rate (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureIncomeTaxesReconciliationOfTheStatutoryFederalIncomeTaxRateAndEffectiveIncomeTaxRateParentheticalDetails</Role>
      <ShortName>INCOME TAXES - Reconciliation of the Statutory Federal Income Tax Rate And Effective Income Tax Rate (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996265 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureCOMMITMENTSANDCONTINGENCIESDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureCOMMITMENTSANDCONTINGENCIES</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996275 - Disclosure - SHAREHOLDERS' EQUITY (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSHAREHOLDERSEQUITYNarrativeDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSHAREHOLDERSEQUITY</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996295 - Disclosure - RESTRICTED SHARES (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestrictedSharesNarrativeDetails</Role>
      <ShortName>RESTRICTED SHARES (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestrictedSharesTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996305 - Disclosure - RESTRICTED SHARES - Stock-based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestrictedSharesStockbasedCompensationDetails</Role>
      <ShortName>RESTRICTED SHARES - Stock-based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996315 - Disclosure - RESTRICTED SHARES - Stock-based Compensation (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestrictedSharesStockbasedCompensationParentheticalDetails</Role>
      <ShortName>RESTRICTED SHARES - Stock-based Compensation (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996325 - Disclosure - RESTRICTED SHARES - Schedule of Performance-Vesting Restricted Stock and Time Vesting-Restricted Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestrictedSharesScheduleOfPerformancevestingRestrictedStockAndTimeVestingrestrictedStockDetails</Role>
      <ShortName>RESTRICTED SHARES - Schedule of Performance-Vesting Restricted Stock and Time Vesting-Restricted Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996335 - Disclosure - RESTRICTED SHARES - Summary of Unrecognized Compensation Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestrictedSharesSummaryOfUnrecognizedCompensationCostDetails</Role>
      <ShortName>RESTRICTED SHARES - Summary of Unrecognized Compensation Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996365 - Disclosure - SEGMENT DATA (Reconciliation of Segment Operations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSEGMENTDATAReconciliationOfSegmentOperationsDetails</Role>
      <ShortName>SEGMENT DATA (Reconciliation of Segment Operations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSEGMENTDATATables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996375 - Disclosure - SEGMENT DATA (Reconciliation of Segment Assets and Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSEGMENTDATAReconciliationOfSegmentAssetsAndLiabilitiesDetails</Role>
      <ShortName>SEGMENT DATA (Reconciliation of Segment Assets and Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSEGMENTDATATables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996385 - Disclosure - SEGMENT DATA (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureSegmentDataAdditionalInformationDetails</Role>
      <ShortName>SEGMENT DATA (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureSEGMENTDATATables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996395 - Disclosure - RESTRUCTURING (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestructuringNarrativeDetails</Role>
      <ShortName>RESTRUCTURING (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestructuringTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996405 - Disclosure - RESTRUCTURING (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestructuringDetails</Role>
      <ShortName>RESTRUCTURING (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestructuringTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996415 - Disclosure - RESTRUCTURING BY SEGMENT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureRestructuringBySegmentDetails</Role>
      <ShortName>RESTRUCTURING BY SEGMENT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>996425 - Disclosure - ACQUISITION (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACQUISITIONNarrativeDetails</Role>
      <ShortName>ACQUISITION (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>996435 - Disclosure - ACQUISITION - Schedule of Preliminary Allocation of Purchase Consideration to Fair Value of Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureACQUISITIONScheduleOfPreliminaryAllocationOfPurchaseConsiderationToFairValueOfAssetsAcquiredAndLiabilitiesAssumedDetails</Role>
      <ShortName>ACQUISITION - Schedule of Preliminary Allocation of Purchase Consideration to Fair Value of Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>996455 - Disclosure - Subsequent Events (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetails</Role>
      <ShortName>Subsequent Events (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.orionlighting.com/20260331/taxonomy/role/DisclosureSubsequentEvents</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>996465 - Disclosure - QUARTERLY FINANCIAL DATA (UNAUDITED) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureQUARTERLYFINANCIALDATAUNAUDITEDDetails</Role>
      <ShortName>QUARTERLY FINANCIAL DATA (UNAUDITED) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="oesx-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>996475 - Disclosure - QUARTERLY FINANCIAL DATA (UNAUDITED) (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.orionlighting.com/20260331/taxonomy/role/Role_DisclosureQUARTERLYFINANCIALDATAUNAUDITEDParentheticalDetails</Role>
      <ShortName>QUARTERLY FINANCIAL DATA (UNAUDITED) (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="oesx-20260331.htm">oesx-20260331.htm</File>
    <File>oesx-20260331.xsd</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1199">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="11">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
