Skip to content

Commit

Permalink
MIG views: Replace attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
flotho committed Oct 20, 2024
1 parent a471ad1 commit 737db8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crm_project_create/views/crm_lead.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
type="action"
class="oe_highlight"
context="{'default_project_name': name, 'default_lead_id': id}"
attrs="{'invisible': ['|', ('active','=',False), ('project_id', '!=', False)]}"
invisible="not active or project_id"
/>
</xpath>
<xpath expr="//group[@name='Misc']" position="inside">
Expand Down

0 comments on commit 737db8b

Please sign in to comment.