XML 67 R48.htm IDEA: XBRL DOCUMENT v3.8.0.1
Summary of major accounting policies - impaired assets (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2017
Aug. 31, 2016
Aug. 31, 2015
Restructuring Cost and Reserve [Line Items]      
Impairment charges $ (11) $ 30 $ 110
Selling, general and administrative expense      
Restructuring Cost and Reserve [Line Items]      
Impairment charges   $ 305 $ 386
Cost Transformation Program | Selling, general and administrative expense      
Restructuring Cost and Reserve [Line Items]      
Impairment charges $ 234