[FIX] account_asset: deferred_revenue_category_id and asset_category_id
[FIX] account_asset: deferred_revenue_category_id and asset_category_id

When creating an customer invoice with a product linked to a deferred revenue
category, the account used in the invoice line must be the account_asset_id.

When creating an vendor bill with a product linked to an asset
category, the account used in the invoice line must be the account_depreciation_id.

Inspired from 0287c1e1b34a14300dcf7ef9ffddf160b61631ee

opw:677098

laslabs/odoo,dfang/odoo,ygol/odoo,storm-computers/odoo,ygol/odoo,bplancher/odoo,storm-computers/odoo,dfang/odoo,storm-computers/odoo,laslabs/odoo,storm-computers/odoo,Elico-Corp/odoo_OCB,ygol/odoo,microcom/odoo,microcom/odoo,laslabs/odoo,microcom/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,microcom/odoo,hip-odoo/odoo,ygol/odoo,dfang/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,sysadminmatmoz/OCB,dfang/odoo,hip-odoo/odoo,ygol/odoo,sysadminmatmoz/OCB,dfang/odoo,bplancher/odoo,sysadminmatmoz/OCB,dfang/odoo,storm-computers/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,sysadminmatmoz/OCB,ygol/odoo,laslabs/odoo,sysadminmatmoz/OCB,sysadminmatmoz/OCB,sysadminmatmoz/OCB,laslabs/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,hip-odoo/odoo,hip-odoo/odoo,ygol/odoo,hip-odoo/odoo,bplancher/odoo,microcom/odoo,bplancher/odoo,bplancher/odoo,microcom/odoo,Elico-Corp/odoo_OCB