mirror of
https://github.com/bringout/oca-crm.git
synced 2026-04-21 17:32:10 +02:00
Add oca-crm submodule with 26 CRM modules
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0e924979be
commit
0608132c9e
1296 changed files with 142509 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
# Copyright 2023 Quartile Limited
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ExceptionRule(models.Model):
|
||||
_inherit = "exception.rule"
|
||||
|
||||
crm_lead_ids = fields.Many2many(comodel_name="crm.lead", string="Opportunities")
|
||||
model = fields.Selection(
|
||||
selection_add=[
|
||||
("crm.lead", "Lead"),
|
||||
],
|
||||
ondelete={"crm.lead": "cascade"},
|
||||
)
|
||||
stage_ids = fields.Many2many(comodel_name="crm.stage")
|
||||
Loading…
Add table
Add a link
Reference in a new issue