Skip to content

Commit

Permalink
[17.0][MIG] crm_stage_probability: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed Osman committed May 14, 2024
1 parent 0a2dbd6 commit fce6c90
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion crm_stage_probability/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "CRM stage probability",
"summary": "Define fixed probability on the stages",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"development_status": "Alpha",
"category": "Sales/CRM",
"website": "https://github.com/OCA/crm",
Expand Down
1 change: 0 additions & 1 deletion crm_stage_probability/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down
11 changes: 5 additions & 6 deletions crm_stage_probability/views/crm_lead.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
>
<field name="is_stage_probability" invisible="1" />
<button
class="ps-0 ps-md-2 btn btn-link"
class="btn d-inline-block px-2 py-0 btn-link"
name="action_set_stage_probability"
type="object"
attrs="{'invisible': [('is_stage_probability', '=', True)]}"
invisible="is_stage_probability"
>
<i
class="fa fa-gear"
Expand All @@ -23,10 +23,9 @@
aria-label="Switch to stage probability"
/>
</button>
<small
class="oe_grey"
attrs="{'invisible': [('is_stage_probability', '=', True)]}"
><field name="stage_probability" /> %% (According to stage)</small>
<small class="oe_grey" invisible="is_stage_probability"><field
name="stage_probability"
/> %% (According to stage)</small>
</xpath>
</field>
</record>
Expand Down
5 changes: 1 addition & 4 deletions crm_stage_probability/views/crm_stage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@
<field name="team_count" position="after">
<group name="probability">
<field name="on_change" />
<field
name="probability"
attrs="{'invisible': [('on_change', '=', False)]}"
/>
<field name="probability" invisible="not on_change" />
</group>
</field>
</field>
Expand Down
Binary file added pandoc-3.2-1-amd64.deb
Binary file not shown.

0 comments on commit fce6c90

Please sign in to comment.