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
1=== modified file 'crm/crm_lead_view.xml'
2--- crm/crm_lead_view.xml 2013-12-18 15:57:15 +0000
3+++ crm/crm_lead_view.xml 2014-01-15 16:15:57 +0000
4@@ -85,7 +85,7 @@
5 view_mode="tree,form,calendar"
6 context="{'default_duration': 4.0, 'default_opportunity_id': active_id}"
7 view_type="form"/>
8-
9+"addons/trunk/crm/crm_lead_view.xml"
10
11 <!-- CRM Lead Form View -->
12 <record model="ir.ui.view" id="crm_case_form_view_leads">
13@@ -98,8 +98,12 @@
14 attrs="{'invisible': [('probability', '=', 100)]}"
15 help="Convert to Opportunity" class="oe_highlight"/>
16 <field name="stage_id" widget="statusbar" clickable="True"
17+<<<<<<< TREE
18 domain="['&amp;', '|', ('case_default', '=', True), ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]"
19 options="{'fold_field': 'fold'}"
20+=======
21+ domain="['&amp;', '|', ('case_default', '=', True), ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]"
22+>>>>>>> MERGE-SOURCE
23 on_change="onchange_stage_id(stage_id)"/>
24 </header>
25 <sheet>
26@@ -111,6 +115,7 @@
27 <div class="oe_title">
28 <label for="name" class="oe_edit_only"/>
29 <h1><field name="name" placeholder="Describe the lead..."/></h1>
30+ <field name="probability" invisible="1"/>
31 </div>
32 <group>
33 <group>
34@@ -170,6 +175,7 @@
35 <field name="description"/>
36 </page>
37 <page string="Extra Info">
38+<<<<<<< TREE
39 <group>
40 <group string="Categorization" groups="base.group_multi_company,base.group_no_one" name="categorization">
41 <field name="company_id"
42@@ -182,6 +188,20 @@
43 </group>
44 <group string="Misc">
45 <field name="probability" groups="base.group_no_one"/>
46+=======
47+ <group>
48+ <group string="Categorization" groups="base.group_multi_company,base.group_no_one" name="categorization">
49+ <field name="company_id"
50+ groups="base.group_multi_company"
51+ widget="selection" colspan="2"/>
52+ <field name="type_id" select="1" widget="selection"/>
53+ <field name="channel_id" select="1" widget="selection"/>
54+ </group>
55+ <group string="Mailings">
56+ <field name="opt_out"/>
57+ </group>
58+ <group string="Misc">
59+>>>>>>> MERGE-SOURCE
60 <field name="active"/>
61 <field name="referred"/>
62 </group>
63@@ -449,7 +469,7 @@
64 </page>
65 <page string="Lead">
66 <group>
67- <group>
68+ <group name='category'>
69 <field name="partner_name"/>
70 <label for="street" string="Address"/>
71 <div>
72@@ -462,6 +482,8 @@
73 </div>
74 <field name="country_id" placeholder="Country" options='{"no_open": True}'/>
75 </div>
76+ <field name="type_id" widget="selection"/>
77+ <field name="channel_id" widget="selection"/>
78 </group>
79
80 <group>
81
82=== modified file 'marketing/marketing_view.xml'
83--- marketing/marketing_view.xml 2013-10-27 12:31:04 +0000
84+++ marketing/marketing_view.xml 2014-01-15 16:15:57 +0000
85@@ -17,25 +17,19 @@
86 <attribute name="string">Marketing</attribute>
87 <attribute name="groups"></attribute>
88 </xpath>
89- <xpath expr="//field[@name='company_id']" position="after">
90- <field name="type_id"/>
91- <field name="channel_id" widget="selection"/>
92- </xpath>
93 </field>
94- </record>
95+ </record>
96
97 <record id="view_crm_opportunity_form" model="ir.ui.view">
98 <field name="name">crm.lead.inherit.form</field>
99 <field name="model">crm.lead</field>
100 <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>
101 <field name="arch" type="xml">
102- <xpath expr="//group[@name='mailings']" position="before">
103- <group string="Marketing">
104- <field name="type_id" />
105- <field name="channel_id" widget="selection"/>
106- </group>
107+ <xpath expr="//field[@name='type_id']" position="before">
108+ <group string='Marketing'/>
109+ <div></div>
110 </xpath>
111- </field>
112+ </field>
113 </record>
114 </data>
115 </openerp>

Subscribers

People subscribed via source and target branches

to all changes: