Files
pad-tools/pad_hedgedoc_leads/models/hedgedoc_pad.py
2022-09-09 15:31:23 +02:00

11 lines
251 B
Python

# -*- 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)