flectra/addons/website_quote/__init__.py

15 lines
432 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2018-01-16 11:34:37 +01:00
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
from . import controllers
from . import models
2018-07-13 11:51:12 +02:00
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()