Skip to content

Commit

Permalink
[MIG] crm_project: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinafernandez-tecnativa committed Sep 25, 2023
1 parent f6f5c11 commit 5588cc1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion crm_project/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2010-2020 Odoo S. A.
# Copyright 2021 Tecnativa - Pedro M. Baeza
# Copyright 2023 Tecnativa - Carolina Fernandez
# License LGPL-3 - See https://www.gnu.org/licenses/lgpl-3.0.html
{
"name": "Lead to Task",
Expand All @@ -10,7 +11,7 @@
"author": "Odoo S.A., Odoo Community Association (OCA), Tecnativa",
"website": "https://github.com/OCA/crm",
"depends": ["crm", "project"],
"version": "15.0.1.0.2",
"version": "16.0.1.0.0",
"license": "LGPL-3",
"installable": True,
"data": [
Expand Down
1 change: 1 addition & 0 deletions crm_project/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* `Tecnativa <https://www.tecnativa.com>`__:

* Pedro M. Baeza
* Carolina Fernandez
* Ruchir Shukla <[email protected]>
1 change: 1 addition & 0 deletions crm_project/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<ul class="simple">
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
<li>Pedro M. Baeza</li>
<li>Carolina Fernandez</li>
</ul>
</li>
<li>Ruchir Shukla &lt;<a class="reference external" href="mailto:ruchir&#64;bizzappdev.com">ruchir&#64;bizzappdev.com</a>&gt;</li>
Expand Down
3 changes: 2 additions & 1 deletion crm_project/views/crm_lead_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<record id="crm_lead_view_form" model="ir.ui.view">
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_lead_view_form" />
<field name="groups_id" eval="[(4, ref('project.group_project_user'))]" />
<field name="arch" type="xml">
<field name="stage_id" position="before">
<button
class="oe_stat_button"
type="action"
name="%(crm_lead_convert2task_action)d"
string="Convert to Task"
context="{'default_lead_id': active_id}"
groups="project.group_project_user"
/>
</field>
</field>
Expand Down

0 comments on commit 5588cc1

Please sign in to comment.