[8.0] [account_asset] Asset creation based on line quantity, History on depreciation lines.

Number of Assets Created from Invoice Line

Impacted versions:

8.0 and above
Steps to reproduce:

create a supplier invoice
add a line with product 'Asset', quantity 2, unit price 10.0, asset_category Assets
validate the Invoice
Current behavior:

Create one asset with subtotal of invoice line

Expected behavior:

Create 2 assets with line subtotal / line.quantity (not taking the price unit if it is the case of discount)

History of Depreciation Lines in Asset Form

Impacted versions:

8.0 and above
Steps to reproduce:

create a asset
Confirm It
Create move from first depreciation line
Current behavior:

In history it will show the account move line associated with depreciation expense account

Expected behavior:

Show in history the account move lines associated with the account depreciation account.