flectra/addons/website_quote/__init__.py
2018-07-13 09:51:12 +00:00

15 lines
432 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from . import controllers
from . import models
from flectra.api import Environment, SUPERUSER_ID
def _install_sale_payment(cr, registry):
env = Environment(cr, SUPERUSER_ID, {})
env['ir.module.module'].search([
('name', '=', 'sale_payment'),
('state', '=', 'uninstalled'),
]).button_install()