Files
pad-tools/pad_hedgedoc_leads/models/hedgedoc_pad.py
2022-08-19 16:28:18 +02:00

10 lines
215 B
Python

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