calendar/models/onboarding_onboarding_step.py
Данил Воробьев fd1d573036 initial commit
2024-05-03 09:43:00 +00:00

13 lines
376 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
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