[NEW] pad_hedgedoc_leads: create addon

This commit is contained in:
Stéphan Sainléger
2022-08-09 23:45:04 +02:00
parent a6d16036ef
commit 1e32e8defb
11 changed files with 239 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
from odoo import models, fields, _
class LeadHedgedocPad(models.Model):
_name = "lead.hedgedoc.pad"
_inherit = "hedgedoc.pad"
lead_id = fields.Many2one("crm.lead", string=_("Associated opportunity"), copy=True)