**Impacted versions:**
9.0 (probably 10.0)

**Steps to reproduce:**
1.  Install `account_asset` module
2. Create a new asset.
3. Confirm asset
4. Click on generate entry button on any depreciation line. It generates an 'Unposted' journal entry (account.move)
5. Check line state, should be green = Posted.
6. Go to entries and delete the entry.
7. Check again the line state, still green = Posted, but the journal entry doesn't exists.

At `account.move.unlink()`, https://github.com/odoo/odoo/blob/9.0/addons/account_asset/account_asset.py#L402 is not called, then `move_check` remains = True

opw: 691084

addons/account_asset/account_asset.py
for line in self:
            line.log_message_when_posted()
            asset = line.asset_id
            if asset.currency_id.is_zero(asset.value_residual):
                asset.message_post(body=_("Document closed."))
                asset.write({'state': 'close'})
    @api.multi
    def log_message_when_posted(self):
        def _format_message(message_description, tracked_values):
            message = ''
            if message_description:
                message = '<span>%s</span>' % message_description
            for name, values in tracked_values.iteritems():
                message += '<div> &nbsp; &nbsp; &bull; <b>%s</b>: ' % name
                message += '%s</div>' % values
            return message
        for line in self:
            if line.move_id and line.move_id.state == 'draft':
                partner_name = line.asset_id.partner_id.name
                currency_name = line.asset_id.currency_id.name
                msg_values = {_('Currency'): currency_name, _('Amount'): line.amount}
                if partner_name:
                    msg_values[_('Partner')] = partner_name
                msg = _format_message(_('Depreciation line posted.'), msg_values)
                line.asset_id.message_post(body=msg)
    @api.multi
    def unlink(self):