mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-18 04:12:06 +02:00
12 lines
No EOL
377 B
Python
12 lines
No EOL
377 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import models
|
|
from . import wizard
|
|
|
|
from odoo import api, SUPERUSER_ID
|
|
|
|
def uninstall_hook(cr, registry):
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
teams = env['crm.team'].search([('use_opportunities', '=', False)])
|
|
teams.write({'use_opportunities': True}) |