Skip to content

Commit

Permalink
Merge pull request #3 from Escodoo/14.0-fix-escodoo_crm_custom
Browse files Browse the repository at this point in the history
[14.0][FIX] escodoo_crm_custom: fix tracking parameter
  • Loading branch information
marcelsavegnago authored Jan 8, 2024
2 parents 4b1b08f + ad1ca10 commit a4e5f48
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions escodoo_crm_custom/models/crm_lead.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,14 @@ class CrmLead(models.Model):
("partnership_opportunity", "Partnership Opportunity"),
],
string="Primary Interest",
tracking=True,
)
escodoo_has_management_system = fields.Boolean(
string="Has Management System?", tracking=True
)
escodoo_management_system_name = fields.Char(
string="Management System Name", tracking=True
)
escodoo_has_management_system = fields.Boolean(string="Has Management System?")
escodoo_management_system_name = fields.Char(string="Management System Name")
escodoo_company_size = fields.Selection(
[
("micro", "Less than 5 Employees"),
Expand All @@ -32,23 +37,26 @@ class CrmLead(models.Model):
("large", "More than 250 Employees"),
],
string="Company Size",
tracking=True,
)
field_name = fields.Selection([("key", "value")], string="field_name")
escodoo_annual_revenue = fields.Monetary(
"Annual Revenue", currency_field="company_currency", track_visibility="always"
"Annual Revenue", currency_field="company_currency", tracking=True
)
escodoo_average_ticket = fields.Monetary(
"Average Ticket", currency_field="company_currency", track_visibility="always"
"Average Ticket", currency_field="company_currency", tracking=True
)
escodoo_technological_maturity = fields.Selection(
string="Technological Maturity",
selection=[("low", "Low"), ("medium", "Medium"), ("high", "High")],
string="Technological Maturity",
tracking=True,
)
escodoo_has_dedicate_team = fields.Boolean(
string="Has Dedicated Team", tracking=True
)
escodoo_has_dedicate_team = fields.Boolean(string="Has Dedicated Team")
escodoo_project_budget = fields.Monetary(
"Budget", currency_field="company_currency", track_visibility="always"
"Budget", currency_field="company_currency", tracking=True
)
escodoo_project_release_date = fields.Date("Release Date")
escodoo_project_release_date = fields.Date("Release Date", tracking=True)
escodoo_project_description = fields.Html(string="General Description")
escodoo_project_primary_pain = fields.Html(string="Primary Pains")
escodoo_project_integration = fields.Html(string="Integrations")

0 comments on commit a4e5f48

Please sign in to comment.