Skip to content

Commit

Permalink
[MIG] spp_helpdesk: Migrate to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
reichie020212 committed Feb 13, 2024
1 parent 938ff40 commit bc9128b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spp_helpdesk/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "OpenSPP Helpdesk System",
"category": "OpenSPP",
"version": "15.0.0.0.0",
"version": "17.0.1.0.0",
"sequence": 3,
"author": "OpenSPP.org",
"website": "https://github.com/openspp/openspp-grievance-redress-mechanism",
Expand Down
8 changes: 4 additions & 4 deletions spp_helpdesk/views/custom_helpdesk_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
<field name="is_group" invisible="1" />
<field
name="partner_readonly_id"
attrs="{'invisible':[('is_group','=',False)]}"
invisible="not is_group"
context="{'form_view_ref': 'g2p_registry_individual.view_individuals_form', 'create': False}"
string="Registrant"
class="oe_read_only"
readonly="1"
/>
<field
name="partner_readonly_id"
attrs="{'invisible':[('is_group','=',True)]}"
invisible="is_group"
context="{'form_view_ref': 'g2p_registry_group.view_groups_form', 'create': False}"
string="Registrant"
class="oe_read_only"
Expand All @@ -40,14 +40,14 @@
<field
name="group_id"
string="Group"
attrs="{'invisible':[('is_group','=',True)]}"
invisible="is_group"
class="oe_edit_only"
options="{'no_open':True, 'no_quick_create':True, 'no_edit':True, 'no_create_edit':True, 'no_create':True}"
/>
<field
name="group_readonly_id"
string="Group"
attrs="{'invisible':[('is_group','=',True)]}"
invisible="is_group"
context="{'create': False}"
class="oe_read_only"
readonly="1"
Expand Down

0 comments on commit bc9128b

Please sign in to comment.