Merge lp:~openerp-dev/openobject-addons/trunk-bug-1163392-amitvora into lp:openobject-addons

Proposed by Amit Vora(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1163392-amitvora
Merge into: lp:openobject-addons
Diff against target: 115 lines (+29/-13) (has conflicts)
2 files modified
crm/crm_lead_view.xml (+24/-2)
marketing/marketing_view.xml (+5/-11)
Text conflict in crm/crm_lead_view.xml
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1163392-amitvora
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+157344@code.launchpad.net

Description of the change

Hello,
     I have fixed the issue search view vs form view, fields missing.

Thanks.

To post a comment you must log in.
8665. By Mehul Mehta(OpenERP)

[Merge] merge with main addons

Unmerged revisions

8665. By Mehul Mehta(OpenERP)

[Merge] merge with main addons

8664. By Amit Vora(OpenERP)

[FIX] add type_id and channel_id fields in form view

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'crm/crm_lead_view.xml'
--- crm/crm_lead_view.xml 2013-12-18 15:57:15 +0000
+++ crm/crm_lead_view.xml 2014-01-15 16:15:57 +0000
@@ -85,7 +85,7 @@
85 view_mode="tree,form,calendar"85 view_mode="tree,form,calendar"
86 context="{'default_duration': 4.0, 'default_opportunity_id': active_id}"86 context="{'default_duration': 4.0, 'default_opportunity_id': active_id}"
87 view_type="form"/>87 view_type="form"/>
8888"addons/trunk/crm/crm_lead_view.xml"
8989
90 <!-- CRM Lead Form View -->90 <!-- CRM Lead Form View -->
91 <record model="ir.ui.view" id="crm_case_form_view_leads">91 <record model="ir.ui.view" id="crm_case_form_view_leads">
@@ -98,8 +98,12 @@
98 attrs="{'invisible': [('probability', '=', 100)]}"98 attrs="{'invisible': [('probability', '=', 100)]}"
99 help="Convert to Opportunity" class="oe_highlight"/>99 help="Convert to Opportunity" class="oe_highlight"/>
100 <field name="stage_id" widget="statusbar" clickable="True"100 <field name="stage_id" widget="statusbar" clickable="True"
101<<<<<<< TREE
101 domain="['&amp;', '|', ('case_default', '=', True), ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]"102 domain="['&amp;', '|', ('case_default', '=', True), ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]"
102 options="{'fold_field': 'fold'}"103 options="{'fold_field': 'fold'}"
104=======
105 domain="['&amp;', '|', ('case_default', '=', True), ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]"
106>>>>>>> MERGE-SOURCE
103 on_change="onchange_stage_id(stage_id)"/>107 on_change="onchange_stage_id(stage_id)"/>
104 </header>108 </header>
105 <sheet>109 <sheet>
@@ -111,6 +115,7 @@
111 <div class="oe_title">115 <div class="oe_title">
112 <label for="name" class="oe_edit_only"/>116 <label for="name" class="oe_edit_only"/>
113 <h1><field name="name" placeholder="Describe the lead..."/></h1>117 <h1><field name="name" placeholder="Describe the lead..."/></h1>
118 <field name="probability" invisible="1"/>
114 </div>119 </div>
115 <group>120 <group>
116 <group>121 <group>
@@ -170,6 +175,7 @@
170 <field name="description"/>175 <field name="description"/>
171 </page>176 </page>
172 <page string="Extra Info">177 <page string="Extra Info">
178<<<<<<< TREE
173 <group>179 <group>
174 <group string="Categorization" groups="base.group_multi_company,base.group_no_one" name="categorization">180 <group string="Categorization" groups="base.group_multi_company,base.group_no_one" name="categorization">
175 <field name="company_id"181 <field name="company_id"
@@ -182,6 +188,20 @@
182 </group>188 </group>
183 <group string="Misc">189 <group string="Misc">
184 <field name="probability" groups="base.group_no_one"/>190 <field name="probability" groups="base.group_no_one"/>
191=======
192 <group>
193 <group string="Categorization" groups="base.group_multi_company,base.group_no_one" name="categorization">
194 <field name="company_id"
195 groups="base.group_multi_company"
196 widget="selection" colspan="2"/>
197 <field name="type_id" select="1" widget="selection"/>
198 <field name="channel_id" select="1" widget="selection"/>
199 </group>
200 <group string="Mailings">
201 <field name="opt_out"/>
202 </group>
203 <group string="Misc">
204>>>>>>> MERGE-SOURCE
185 <field name="active"/>205 <field name="active"/>
186 <field name="referred"/>206 <field name="referred"/>
187 </group>207 </group>
@@ -449,7 +469,7 @@
449 </page>469 </page>
450 <page string="Lead">470 <page string="Lead">
451 <group>471 <group>
452 <group>472 <group name='category'>
453 <field name="partner_name"/>473 <field name="partner_name"/>
454 <label for="street" string="Address"/>474 <label for="street" string="Address"/>
455 <div>475 <div>
@@ -462,6 +482,8 @@
462 </div>482 </div>
463 <field name="country_id" placeholder="Country" options='{"no_open": True}'/>483 <field name="country_id" placeholder="Country" options='{"no_open": True}'/>
464 </div>484 </div>
485 <field name="type_id" widget="selection"/>
486 <field name="channel_id" widget="selection"/>
465 </group>487 </group>
466488
467 <group>489 <group>
468490
=== modified file 'marketing/marketing_view.xml'
--- marketing/marketing_view.xml 2013-10-27 12:31:04 +0000
+++ marketing/marketing_view.xml 2014-01-15 16:15:57 +0000
@@ -17,25 +17,19 @@
17 <attribute name="string">Marketing</attribute>17 <attribute name="string">Marketing</attribute>
18 <attribute name="groups"></attribute>18 <attribute name="groups"></attribute>
19 </xpath>19 </xpath>
20 <xpath expr="//field[@name='company_id']" position="after">
21 <field name="type_id"/>
22 <field name="channel_id" widget="selection"/>
23 </xpath>
24 </field>20 </field>
25 </record>21 </record>
2622
27 <record id="view_crm_opportunity_form" model="ir.ui.view">23 <record id="view_crm_opportunity_form" model="ir.ui.view">
28 <field name="name">crm.lead.inherit.form</field>24 <field name="name">crm.lead.inherit.form</field>
29 <field name="model">crm.lead</field>25 <field name="model">crm.lead</field>
30 <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>26 <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
31 <field name="arch" type="xml">27 <field name="arch" type="xml">
32 <xpath expr="//group[@name='mailings']" position="before">28 <xpath expr="//field[@name='type_id']" position="before">
33 <group string="Marketing">29 <group string='Marketing'/>
34 <field name="type_id" />30 <div></div>
35 <field name="channel_id" widget="selection"/>
36 </group>
37 </xpath>31 </xpath>
38 </field>32 </field>
39 </record>33 </record>
40 </data>34 </data>
41</openerp>35</openerp>

Subscribers

People subscribed via source and target branches

to all changes: