flectra/addons/mail/__init__.py

13 lines
310 B
Python
Raw Permalink Normal View History

# -*- coding: utf-8 -*-
from . import models
from . import wizard
from . import controllers
from .tests import test_mail_model
2018-01-22 14:28:04 +01:00
def post_init(cr, registry):
from flectra import api, SUPERUSER_ID
env = api.Environment(cr, SUPERUSER_ID, {})
env['publisher_warranty.contract'].update_notification()