calendar/models/onboarding_onboarding_step.py

13 lines
382 B
Python
Raw Permalink Normal View History

2024-05-21 15:09:16 +03:00
# Part of Talisman . See LICENSE file for full copyright and licensing details.
2024-05-03 12:43:00 +03:00
from odoo import api, models
class OnboardingStep(models.Model):
_inherit = 'onboarding.onboarding.step'
@api.model
def action_view_start_calendar_sync(self):
action = self.env["ir.actions.actions"]._for_xml_id("calendar.action_view_start_calendar_sync")
return action