diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-20 15:11:59 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-20 15:11:59 +0700 |
| commit | ef7b167a489229b23ad63b0cc2ddb58f423cd380 (patch) | |
| tree | 7267c1924abc540c2ca06deb7d5065c7e94cbf4f | |
| parent | 425ebfc6fdaf307ebb416b15c45809bbc9568ced (diff) | |
add file_quotation field in crm_lead
| -rwxr-xr-x | indoteknik_custom/models/crm_lead.py | 1 | ||||
| -rwxr-xr-x | indoteknik_custom/views/crm_lead.xml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/models/crm_lead.py b/indoteknik_custom/models/crm_lead.py index 6052acfa..47325b01 100755 --- a/indoteknik_custom/models/crm_lead.py +++ b/indoteknik_custom/models/crm_lead.py @@ -9,6 +9,7 @@ class CrmLead(models.Model): file_nib = fields.Binary(string="Nomor Induk Berusaha") file_tdp = fields.Binary(string="Tanda Daftar Perusahaan") file_siup = fields.Binary(string="Surat Izin Usaha Perdagangan") + file_quotation = fields.Binary(string='Dokumen Quotation') body_html_lead = fields.Text('Body HTML', compute='compute_body_leads') # for wati only wati_notification_id = fields.One2many('wati.notification', 'lead_id', string='Wati Notification') diff --git a/indoteknik_custom/views/crm_lead.xml b/indoteknik_custom/views/crm_lead.xml index 6a07c760..775a44de 100755 --- a/indoteknik_custom/views/crm_lead.xml +++ b/indoteknik_custom/views/crm_lead.xml @@ -27,6 +27,9 @@ </form> </field> </page> + <page string="Quotation" name="quotation"> + <field name="file_quotation"/> + </page> <page string="Description" name="description"> <field name="html_description"/> </page> |
