Analytic move is not created when closing an asset
When asset is closed one of the move lines created uses the revenue account but analytic_invoice's set_analytic_lines will only fill analytic for expense accounts.
When asset is closed one of the move lines created uses the revenue account but analytic_invoice's set_analytic_lines will only fill analytic for expense accounts.