def METHOD_NAME(self):
    res = super().METHOD_NAME()
    if self:
        # Remove every a.a.info related to current moves, and delete
        # related depreciation lines
        aa_infos = self.mapped(lambda m: m.get_linked_aa_info_records())
        dep_lines = aa_infos.mapped("dep_line_id")
        aa_infos.unlink()
        # Filtering needed: cannot delete dep lines with a.a.info
        dep_lines.filtered(lambda l: not l.asset_accounting_info_ids).unlink()
    return res