Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][IMP] crm_lead_code: space get removed when other view changes name field #601

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

CRogos
Copy link

@CRogos CRogos commented Oct 11, 2024

I have another module which extends the same view like this:

    <record id="crm_case_kanban_view_leads" model="ir.ui.view">
        <field name="name">crm.show.fields</field>
        <field name="model">crm.lead</field>
        <field name="inherit_id" ref="crm.crm_case_kanban_view_leads" />
        <field name="arch" type="xml">
            <field name="name" position="attributes">
                <attribute name="invisible">1</attribute>
            </field>
            <field name="name" position="after">
                <field name="display_name" />
            </field>
        </field>
    </record>

This causes that the space after the code is removed. This change prevents this side effect.

@CRogos CRogos changed the title [IMP] crm_lead_code: space get removed when other view changes name field [17.0][IMP] crm_lead_code: space get removed when other view changes name field Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant