mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 05:32:02 +02:00
Initial commit: Sale packages
This commit is contained in:
commit
14e3d26998
6469 changed files with 2479670 additions and 0 deletions
12
odoo-bringout-oca-ocb-sale_crm/sale_crm/__init__.py
Normal file
12
odoo-bringout-oca-ocb-sale_crm/sale_crm/__init__.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# -*- 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})
|
||||
Loading…
Add table
Add a link
Reference in a new issue