summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-07-29 17:36:54 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-07-29 17:36:54 +0700
commit38e43997754a6f2c7eadacd5bf09d8481f82bccc (patch)
treea96811475686ac9c8243742ab760456cd24be673 /indoteknik_custom/models
parentca84cc359ed7535474aafac877843374baac5414 (diff)
Tambah field html_description dan view di crm.lead
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/__init__.py1
-rw-r--r--indoteknik_custom/models/crm_lead.py8
2 files changed, 9 insertions, 0 deletions
diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py
index ee089698..afef17eb 100644
--- a/indoteknik_custom/models/__init__.py
+++ b/indoteknik_custom/models/__init__.py
@@ -8,3 +8,4 @@ from . import product_template
from . import x_partner_purchase_order
from . import x_product_tags
from . import stock_vendor
+from . import crm_lead
diff --git a/indoteknik_custom/models/crm_lead.py b/indoteknik_custom/models/crm_lead.py
new file mode 100644
index 00000000..0c53bb69
--- /dev/null
+++ b/indoteknik_custom/models/crm_lead.py
@@ -0,0 +1,8 @@
+from odoo import fields, models
+
+
+class CrmLead(models.Model):
+ _inherit = "crm.lead"
+
+ html_description = fields.Html(string="Descriptions")
+