[IMP] academic_sale_subscription: hide Company Information on opportunity - #447
Open
lef-adhoc wants to merge 1 commit into
Open
[IMP] academic_sale_subscription: hide Company Information on opportunity#447lef-adhoc wants to merge 1 commit into
lef-adhoc wants to merge 1 commit into
Conversation
Contributor
…nity The Company Information group of the Contacts tab is not used in the academic flow: the customer comes from the Family Group tab. The group is hidden (not removed), so the fields stay readable by import/API. Task 68880
lef-adhoc
force-pushed
the
19.0-t-68880-lef
branch
from
August 12, 2026 15:14
5261f5e to
7d779e6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Task 68880
What
Hides the Company Information group of the Contacts tab on the opportunity form, from
academic_sale_subscription.In the academic flow the customer does not come from that group: it is created from the Family Group tab (
family_member_ids+action_create_family), so the company name / address / language block is noise for schools.How
The group has no
nameattribute and itsstringis translated, so it cannot be used as an xpath selector (_valid_inheritanceraises "View inheritance may not use attribute 'string' as a selector"). It is reached through a field it owns, scoped to the Contacts page:The fields are hidden, not removed — still readable by import/API.
Scope
invisible="type == 'lead'", and the Extra Info tab is not modified._create_customer) is unchanged.Test plan
Verified on a local build with the module updated. Combined
crm.leadform arch:invisiblepartner_name, address,lang_id1contact_name,function,websitecampaign_id,medium_id,source_id,referredcompany_id,team_id,typepartner_nameis still present in the arch.Note
Leads coming from the website form fill
partner_namewith the name of the responsible adult (contact_nameholds the student, and stays visible). That value is no longer shown on screen, though it is still stored and available by API.