def METHOD_NAME(self):
    self.ensure_one()
    xmlid = "assets_management.action_wizard_asset_generate_depreciation"
    [act] = self.env.ref(xmlid).read()
    ctx = dict(self._context)
    ctx.update(
        {
            "default_asset_ids": [(6, 0, self.ids)],
            "default_category_ids": [(6, 0, self.category_id.ids)],
            "default_company_id": self.company_id.id,
            "default_date": fields.Date.today(),
            "default_type_ids": [
                (6, 0, self.depreciation_ids.mapped("type_id").ids)
            ],
        }
    )
    act["context"] = ctx
    return act