Skip to Content
Catalog / CRM · CRM / Alshayebco CRM Enhancements
Alshayebco CRM Enhancements
alshayebco_crm_enhancements

Alshayebco CRM Enhancements

Track multi-currency lead revenue and share leads and orders with the right teammates

v1.0.0 Abdelfatah Mohammad (AlshayebCo) CRM Application

Inherits crm lead, sales order, and sales order line. On crm lead it overrides expected_revenue/recurring_revenue and related fields to use a new required currency_id (defaulting to company currency) and adds stored computed company-currency conversions via _convert. A many2many user_ids ('Allowed Users', domain share=False) is added to crm lead and sales order; write() detects link commands (4, id) and calls activity_schedule with mail mail_activity_data_todo for each added user. sales order action_view_opportunity opens the linked crm lead form. Views inherit crm quick-create, kanban, list, and form (rebinding monetary options to currency_id) plus the sale_subscription order form. Security XML overrides crm crm_rule_personal_lead and sale sale_order_personal_rule to add ('user_ids','in',[user.id]) to the domain.

Overview

Standard Odoo CRM forces every lead's revenue into the company currency and limits visibility to a single salesperson, which hurts teams that work international deals and collaborate on opportunities. This module lets each lead carry its own currency, automatically converting expected and recurring revenue back to company currency for accurate pipeline totals. It also adds an 'Allowed Users' list on leads and sale orders so multiple teammates can see and act on a record, and it pings each newly added user with a to-do activity to review the deal.

Key Features

  • Sets a dedicated currency on every CRM lead, defaulting to the company currency.
  • Captures expected, recurring, prorated, and monthly recurring revenue in the lead's own currency.
  • Automatically converts expected and recurring revenue to company currency for consistent pipeline reporting.
  • Shows both lead-currency and company-currency revenue on the lead form, list, and kanban views.
  • Adds an 'Allowed Users' list on leads so several internal users can collaborate on the same opportunity.
  • Adds the same 'Allowed Users' sharing on sale orders, including subscription orders.
  • Schedules a 'Please Review' to-do activity for each user added to a lead or sale order.
  • Extends CRM and Sales record rules so allowed users gain access alongside the assigned salesperson.
  • Adds a one-click action to jump from a sale order to its linked CRM opportunity.

Technical Details

Technical Name alshayebco_crm_enhancements
Version 1.0.0
License LGPL-3
Domain CRM · CRM

Security

No new access-control groups are created. The module redefines two record rules so that, for salespeople (Sales/User group), a lead or sale order is visible not only to its salesperson but also to anyone listed in its 'Allowed Users' field. The allowed-users picker is restricted to internal (non-portal) users.

Dependencies

sale_subscription sale_crm