-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
New module : crm_lead_sequence #256
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved Code
'data/crm_lead_sequence.xml', | ||
'views/crm_lead.xml' | ||
], | ||
'demo': [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbejaoui If not any file then remove it.
<field name="model">crm.lead</field> | ||
<field name="inherit_id" ref="crm.crm_case_form_view_oppor"/> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='name']" position="before"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbejaoui IMO Use direct Field here
<field name="ref" attrs="{'invisible': [('ref', '=', False)]}"/>
<field name="inherit_id" ref="crm.crm_case_kanban_view_leads"/> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//field[@name='name']" position="before"> | ||
<field name="ref"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
This module is the same as https://github.com/OCA/crm/tree/10.0/crm_lead_code, being migrated to v12 in #253, and I prefer to talk about code instead of sequence for avoiding the misunderstanding about sequence as order key ( |
Thank you @pedrobaeza , I was looking for it. you can close this PR. |
No description provided.