Skip to content

Commit

Permalink
[IMP] crm_stage_probability: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
peluko00 committed Nov 8, 2024
1 parent 2c551fd commit b725e0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crm_stage_probability/views/crm_lead.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
/>
</button>
<small class="oe_grey" invisible="is_stage_probability"><field
name="stage_probability"
/> %% (According to stage)</small>
name="stage_probability"
/> %% (According to stage)</small>
</xpath>
</field>
</record>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def execute(self):
leads.write({"probability": stage_line.stage_id.probability})
updated_leads_ids += leads.ids
action = self.env.ref("crm.crm_lead_all_leads").read()[0]
action["domain"] = "[('id', 'in', %s)]" % updated_leads_ids
action["domain"] = f"[('id', 'in', {updated_leads_ids})]"
action.pop("context")
return action

Expand Down

0 comments on commit b725e0a

Please sign in to comment.