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

[15.0][IMP] crm_partner_assign: move fields before user_id #512

Merged
merged 1 commit into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crm_partner_assign/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
* Rafael Blasco (`Moduon <https://www.moduon.team/>`__)
* Emilio Pascual (`Moduon <https://www.moduon.team/>`__)
16 changes: 3 additions & 13 deletions crm_partner_assign/views/crm_lead_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,7 @@
<field name="inherit_id" ref="crm.crm_lead_view_form" />
<field name="arch" type="xml">
<!-- LEAD -->
<xpath
expr="//group[@name='lead_partner']/field[@name='website']"
position="before"
>
<field name="partner_contact_assigned_id" />
<field name="partner_assigned_id" />
</xpath>
<xpath
expr="//group[@name='opportunity_partner']/label[@for='email_from']"
position="before"
>
<xpath expr="//field[@name='user_id']" position="before">
<field name="partner_contact_assigned_id" />
<field name="partner_assigned_id" />
</xpath>
Expand All @@ -30,7 +20,7 @@
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_tree_view_leads" />
<field name="arch" type="xml">
<xpath expr="//tree/field[@name='country_id']" position="after">
<xpath expr="//tree/field[@name='user_id']" position="before">
<field name="partner_assigned_id" optional="hide" />
<field name="partner_contact_assigned_id" optional="hide" />
</xpath>
Expand All @@ -42,7 +32,7 @@
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_tree_view_oppor" />
<field name="arch" type="xml">
<xpath expr="//tree/field[@name='country_id']" position="after">
<xpath expr="//tree/field[@name='user_id']" position="before">
<field name="partner_assigned_id" optional="hide" />
<field name="partner_contact_assigned_id" optional="hide" />
</xpath>
Expand Down
Loading