-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] crm, website_crm: replace support of activities
crm.lead model now supports activities. Filters have been added to ease their management. Mail activities replace the old crm.activity model. All code related to crm.activity is then removed, including views and custom widget. Standard activities feature is now used widely in Odoo addons and replace those custom activities. A small update is required in website_crm_partner_assign. Now the portal user can only update or create its own activities aka assigned to him. If he has an activity assigned to him it is displayed in the opportunity website view. If not editing the opportunity will create a new activity assigned to him.
- Loading branch information
1 parent
4aa3f3f
commit 87e4571
Showing
26 changed files
with
304 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<odoo> | ||
<record id="mail_activity_demo_followup_quote" model="mail.activity.type"> | ||
<field name="name">Follow-up Quote</field> | ||
<field name="icon">fa-file-text-o</field> | ||
<field name="res_model_id" ref="crm.model_crm_lead"/> | ||
<field name="summary">Follow-up quote</field> | ||
<field name="days">30</field> | ||
</record> | ||
<record id="mail_activity_demo_make_quote" model="mail.activity.type"> | ||
<field name="name">Make Quote</field> | ||
<field name="icon">fa-file-text-o</field> | ||
<field name="res_model_id" ref="crm.model_crm_lead"/> | ||
<field name="summary">Send a quotation</field> | ||
<field name="days">15</field> | ||
</record> | ||
<record id="mail_activity_demo_call_demo" model="mail.activity.type"> | ||
<field name="name">Call for Demo</field> | ||
<field name="icon">fa-phone</field> | ||
<field name="res_model_id" ref="crm.model_crm_lead"/> | ||
<field name="days">10</field> | ||
<field name="summary">Call for a demo</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
|
||
import res_users | ||
import calendar | ||
import crm_activity | ||
import crm_lead | ||
import crm_stage | ||
import crm_team | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.