XML 58 R48.htm IDEA: XBRL DOCUMENT v3.23.1
Exit and disposal activities - Narrative (Details)
$ in Millions
6 Months Ended
Oct. 12, 2021
USD ($)
store
Dec. 20, 2018
USD ($)
Feb. 28, 2023
USD ($)
store
Feb. 28, 2022
USD ($)
Nov. 30, 2022
USD ($)
Aug. 31, 2022
USD ($)
Nov. 30, 2021
USD ($)
Aug. 31, 2021
USD ($)
Sep. 01, 2019
USD ($)
Restructuring Cost and Reserve [Line Items]                  
Cumulative effect adjustment to decrease retained earnings     $ (29,439) $ (30,867) $ (24,582) $ (29,366) $ (30,579) $ (23,822)  
Retained Earnings                  
Restructuring Cost and Reserve [Line Items]                  
Cumulative effect adjustment to decrease retained earnings     (33,952) (38,757) $ (33,664) $ (37,801) $ (38,286) $ (35,121)  
Transformational Cost Management Program                  
Restructuring Cost and Reserve [Line Items]                  
Costs incurred     $ 2,200            
Transformational Cost Management Program | United Kingdom                  
Restructuring Cost and Reserve [Line Items]                  
Number of stores expected to close | store 350                
Number of stores closed | store     252            
Transformational Cost Management Program | U.S. Retail Pharmacy                  
Restructuring Cost and Reserve [Line Items]                  
Number of stores closed | store     403            
Transformational Cost Management Program | Retained Earnings | Adoption of New Accounting Standards                  
Restructuring Cost and Reserve [Line Items]                  
Cumulative effect adjustment to decrease retained earnings                 $ 508
Lease Obligations and Other Real Estate Costs | Transformational Cost Management Program                  
Restructuring Cost and Reserve [Line Items]                  
Costs incurred     $ 700            
Asset Impairments | Transformational Cost Management Program                  
Restructuring Cost and Reserve [Line Items]                  
Costs incurred     556            
Employee Severance and Business Transition Costs | Transformational Cost Management Program                  
Restructuring Cost and Reserve [Line Items]                  
Costs incurred     754            
Information Technology Transformation and Other Exit Costs | Transformational Cost Management Program                  
Restructuring Cost and Reserve [Line Items]                  
Costs incurred     228            
Minimum | Transformational Cost Management Program                  
Restructuring Cost and Reserve [Line Items]                  
Expected annual cost savings of restructuring plan $ 3,300 $ 2,000              
Expected cost     3,600            
Minimum | Transformational Cost Management Program | U.S. Retail Pharmacy                  
Restructuring Cost and Reserve [Line Items]                  
Number of stores expected to close | store 450                
Minimum | Exit and Disposal Costs | Transformational Cost Management Program                  
Restructuring Cost and Reserve [Line Items]                  
Expected cost     3,300            
Maximum | Transformational Cost Management Program                  
Restructuring Cost and Reserve [Line Items]                  
Expected annual cost savings of restructuring plan       $ 3,500          
Expected cost     3,900            
Maximum | Transformational Cost Management Program | U.S. Retail Pharmacy                  
Restructuring Cost and Reserve [Line Items]                  
Number of stores expected to close | store 500                
Maximum | Exit and Disposal Costs | Transformational Cost Management Program                  
Restructuring Cost and Reserve [Line Items]                  
Expected cost     $ 3,600