def METHOD_NAME(self):
    assets = self.asset_ids
    if self.category_ids:
        assets = assets.filtered(
            lambda a: a.category_id.id in self.category_ids.ids
        )
    if self.company_id:
        assets = assets.filtered(
            lambda a: a.company_id.id in (False, self.company_id.id)
        )
    if self.date:
        assets = assets.filtered(lambda a: a.purchase_date <= self.date)
    if self.type_ids:
        assets = assets.filtered(
            lambda a: any(
                [d.type_id.id in self.type_ids.ids for d in a.depreciation_ids]
            )
        )
    return assets