Skip to content

[IMP] crm_lead_to_task: Usability improves#689

Open
u0f wants to merge 1 commit intoOCA:18.0from
moduon:imp-crm_lead_to_task
Open

[IMP] crm_lead_to_task: Usability improves#689
u0f wants to merge 1 commit intoOCA:18.0from
moduon:imp-crm_lead_to_task

Conversation

@u0f
Copy link

@u0f u0f commented Oct 6, 2025

After merging “crm_project_task,” some usability issues were reported. The following improvements have been added:

  • Unified to a button in the lead with a wizard that always appears.
  • If a project is selected in the options, it will open by default in the wizard in read-only mode.
  • Within the wizard, you can:
    • Convert lead to task: this is how it worked before, where you can archive the lead and move the chatter to the task.
    • Create task and link: a task linked to the lead will be created, but the chatter will not be moved and the lead will not be archived.
    • README updated
    • New tests to cover up this improves.

https://www.loom.com/share/142ac524c4274a75b6aef5d1ef6feb5b

@moduon MT-11907

@u0f u0f force-pushed the imp-crm_lead_to_task branch from e2307f3 to 3948f3d Compare October 6, 2025 13:57
After merging “crm_project_task,” some usability issues were reported. The following improvements have been added:
	- Unified to a button in the lead with a wizard that always appears
	- If a project is selected in the options, it will open by default in the wizard in read-only mode
	- Within the wizard, you can:
		- Convert lead to task: this is how it worked before, where you can archive the lead and move the chatter to the task
		- Create task and link: a task linked to the lead will be created, but the chatter will not be moved and the lead will not be archived.

@moduon MT-11907
@u0f u0f force-pushed the imp-crm_lead_to_task branch from 3948f3d to fdaef82 Compare October 6, 2025 14:23
Copy link
Member

@rafaelbn rafaelbn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thank you for this improvements 🙏🏼

Thank you! 😄 ❤️

@@ -6,13 +6,22 @@
<field name="arch" type="xml">
<form string="Convert to Task">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: this form title is now misleading

action["context"] = context
return action

def _move_chatter(self, task):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: remember that many modules can coexist, so it's better if method names are more explicit:

Suggested change
def _move_chatter(self, task):
def _move_chatter_to_task(self, task):

Comment on lines +93 to +94
if self.company_id.crm_archive_lead_on_convert:
self.active = False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: does this make sense now? If users have the ability to click on "convert to task", shouldn't that just archive always?

IMHO the crm_archive_lead_on_convert should be an option with 3 choices:

  • Always
  • Never
  • Empty (let the user choose)

type="object"
string="Create Task"
class="oe_stat_button"
groups="project.group_project_user"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: salespersons cannot convert to task if they don't have project permissions.

Image
Suggested change
groups="project.group_project_user"

Salespeople should be able to perform the conversion (not the linking).

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement needs review stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants