Merge lp:~openerp-dev/openobject-addons/trunk-imp-calendar-dragdrop-dka into lp:openobject-addons

Proposed by Darshan Kalola(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-imp-calendar-dragdrop-dka
Merge into: lp:openobject-addons
Diff against target: 188 lines (+19/-3)
12 files modified
account/account_invoice_view.xml (+1/-0)
calendar/calendar_view.xml (+1/-0)
crm/crm_phonecall_view.xml (+1/-0)
crm_helpdesk/crm_helpdesk_view.xml (+1/-0)
event/event_view.xml (+2/-0)
hr_holidays/hr_holidays_view.xml (+1/-0)
mrp/mrp_view.xml (+1/-0)
mrp_operations/mrp_operations_view.xml (+1/-0)
purchase/purchase.py (+2/-2)
purchase/purchase_view.xml (+4/-1)
sale/sale_view.xml (+1/-0)
stock/stock_view.xml (+3/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-imp-calendar-dragdrop-dka
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+206710@code.launchpad.net
To post a comment you must log in.
9087. By Niko (OpenERP)

[IMP] Add some video to manisfest ( website, website_blog, website_event, website_ecommerce)

9147. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9148. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9149. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9150. By Darshan Kalola(OpenERP)

[IMP]calendar view: set invisible modifier on state field beacuse no need to display on calendar view.

9151. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9152. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9153. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9154. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9155. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9156. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9157. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9158. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9159. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9160. By Darshan Kalola(OpenERP)

[IMP]sale: added name field in calendar view of sale order.

9161. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9162. By Darshan Kalola(OpenERP)

[MERGE] Merged lp:openobject-addons.

9163. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

Unmerged revisions

9163. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9162. By Darshan Kalola(OpenERP)

[MERGE] Merged lp:openobject-addons.

9161. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9160. By Darshan Kalola(OpenERP)

[IMP]sale: added name field in calendar view of sale order.

9159. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9158. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9157. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9156. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9155. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

9154. By Darshan Kalola(OpenERP)

[MERGE]sync with trunk.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_invoice_view.xml'
2--- account/account_invoice_view.xml 2014-04-01 07:02:27 +0000
3+++ account/account_invoice_view.xml 2014-04-29 04:43:46 +0000
4@@ -10,6 +10,7 @@
5 <calendar string="Invoices" color="journal_id" date_start="date_invoice">
6 <field name="partner_id"/>
7 <field name="amount_total"/>
8+ <field name="state" invisible="1"/>
9 </calendar>
10 </field>
11 </record>
12
13=== modified file 'calendar/calendar_view.xml'
14--- calendar/calendar_view.xml 2014-02-20 16:38:15 +0000
15+++ calendar/calendar_view.xml 2014-04-29 04:43:46 +0000
16@@ -225,6 +225,7 @@
17
18 <field name="name"/>
19 <field name="user_id"/>
20+ <field name="state"/>
21 <field name="color_partner_id"/>
22 <field name="partner_ids"/>
23 </calendar>
24
25=== modified file 'crm/crm_phonecall_view.xml'
26--- crm/crm_phonecall_view.xml 2014-03-12 09:07:34 +0000
27+++ crm/crm_phonecall_view.xml 2014-04-29 04:43:46 +0000
28@@ -155,6 +155,7 @@
29 <calendar string="Phone Calls" date_start="date" color="user_id" date_delay="duration">
30 <field name="name"/>
31 <field name="partner_id"/>
32+ <field name="state"/>
33 </calendar>
34 </field>
35 </record>
36
37=== modified file 'crm_helpdesk/crm_helpdesk_view.xml'
38--- crm_helpdesk/crm_helpdesk_view.xml 2013-10-27 12:31:04 +0000
39+++ crm_helpdesk/crm_helpdesk_view.xml 2014-04-29 04:43:46 +0000
40@@ -121,6 +121,7 @@
41 <field name="name"/>
42 <field name="partner_id"/>
43 <field name="categ_id"/>
44+ <field name="state" invisible="1"/>
45 </calendar>
46 </field>
47 </record>
48
49=== modified file 'event/event_view.xml'
50--- event/event_view.xml 2014-04-10 09:17:47 +0000
51+++ event/event_view.xml 2014-04-29 04:43:46 +0000
52@@ -251,6 +251,7 @@
53 <calendar color="type" date_start="date_begin" date_stop="date_end" string="Event Organization">
54 <field name="name"/>
55 <field name="type"/>
56+ <field name="state" invisible="1"/>
57 </calendar>
58 </field>
59 </record>
60@@ -397,6 +398,7 @@
61 <calendar color="event_id" date_start="event_begin_date" date_stop="event_end_date" string="Event Registration">
62 <field name="event_id"/>
63 <field name="name"/>
64+ <field name="state" invisible="1"/>
65 </calendar>
66 </field>
67 </record>
68
69=== modified file 'hr_holidays/hr_holidays_view.xml'
70--- hr_holidays/hr_holidays_view.xml 2014-02-11 15:48:27 +0000
71+++ hr_holidays/hr_holidays_view.xml 2014-04-29 04:43:46 +0000
72@@ -45,6 +45,7 @@
73 quick_add="False" avatar_model="hr.employee">
74 <field name="employee_id"/>
75 <field name="holiday_status_id"/>
76+ <field name="state" invisible="1"/>
77 </calendar>
78 </field>
79 </record>
80
81=== modified file 'mrp/mrp_view.xml'
82--- mrp/mrp_view.xml 2014-03-19 06:35:49 +0000
83+++ mrp/mrp_view.xml 2014-04-29 04:43:46 +0000
84@@ -597,6 +597,7 @@
85 <field name="name"/>
86 <field name="product_id"/>
87 <field name="product_qty"/>
88+ <field name="state" invisible="1"/>
89 </calendar>
90 </field>
91 </record>
92
93=== modified file 'mrp_operations/mrp_operations_view.xml'
94--- mrp_operations/mrp_operations_view.xml 2014-01-29 18:47:03 +0000
95+++ mrp_operations/mrp_operations_view.xml 2014-04-29 04:43:46 +0000
96@@ -147,6 +147,7 @@
97 <calendar color="product" date_stop="date_finished" date_start="date_start" string="Operations">
98 <field name="workcenter_id"/>
99 <field name="production_id"/>
100+ <field name="state" invisible="1"/>
101 </calendar>
102 </field>
103 </record>
104
105=== modified file 'purchase/purchase.py'
106--- purchase/purchase.py 2014-04-18 06:12:56 +0000
107+++ purchase/purchase.py 2014-04-29 04:43:46 +0000
108@@ -171,7 +171,7 @@
109 ),
110 'partner_ref': fields.char('Supplier Reference', states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)],'done':[('readonly',True)]}, size=64,
111 help="Reference of the sales order or quotation sent by your supplier. It's mainly used to do the matching when you receive the products as this reference is usually written on the delivery order sent by your supplier."),
112- 'date_order':fields.date('Order Date', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)]}, select=True, help="Date on which this document has been created."),
113+ 'date_order':fields.date('Order Date', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)], 'done':[('readonly',True)]}, select=True, help="Date on which this document has been created."),
114 'date_approve':fields.date('Date Approved', readonly=1, select=True, help="Date on which purchase order has been approved"),
115 'partner_id':fields.many2one('res.partner', 'Supplier', required=True, states={'confirmed':[('readonly',True)], 'approved':[('readonly',True)],'done':[('readonly',True)]},
116 change_default=True, track_visibility='always'),
117@@ -200,7 +200,7 @@
118 "Based on generated invoice: create a draft invoice you can validate later.\n" \
119 "Based on incoming shipments: let you create an invoice when receptions are validated."
120 ),
121- 'minimum_planned_date':fields.function(_minimum_planned_date, fnct_inv=_set_minimum_planned_date, string='Expected Date', type='date', select=True, help="This is computed as the minimum scheduled date of all purchase order lines' products.",
122+ 'minimum_planned_date':fields.function(_minimum_planned_date, fnct_inv=_set_minimum_planned_date, string='Expected Date', type='date', select=True, states={'confirmed':[('readonly',True)], 'done':[('readonly',True)]}, help="This is computed as the minimum scheduled date of all purchase order lines' products.",
123 store = {
124 'purchase.order.line': (_get_order, ['date_planned'], 10),
125 }
126
127=== modified file 'purchase/purchase_view.xml'
128--- purchase/purchase_view.xml 2014-04-17 09:05:15 +0000
129+++ purchase/purchase_view.xml 2014-04-29 04:43:46 +0000
130@@ -144,6 +144,9 @@
131 <field name="name"/>
132 <field name="amount_total"/>
133 <field name="partner_id"/>
134+ <field name="state" invisible="1"/>
135+ <field name="minimum_planned_date" invisible="1" attrs="{'readonly': [('shipped','=',True)]}" />
136+ <field name="shipped" invisible="1"/>
137 </calendar>
138 </field>
139 </record>
140@@ -237,7 +240,7 @@
141 <group>
142 <group>
143 <field name="dest_address_id" string="Customer Address" on_change="onchange_dest_address_id(dest_address_id)" groups="stock.group_locations"/>
144- <field name="minimum_planned_date"/>
145+ <field name="minimum_planned_date" attrs="{'readonly': [('shipped','=',True)]}"/>
146 <field name="location_id" groups="stock.group_locations"/>
147 <field name="shipped" groups="base.group_no_one"/>
148 </group>
149
150=== modified file 'sale/sale_view.xml'
151--- sale/sale_view.xml 2014-04-08 05:35:52 +0000
152+++ sale/sale_view.xml 2014-04-29 04:43:46 +0000
153@@ -18,6 +18,7 @@
154 <field name="model">sale.order</field>
155 <field name="arch" type="xml">
156 <calendar string="Sales Orders" color="state" date_start="date_order">
157+ <field name="name"/>
158 <field name="partner_id"/>
159 <field name="amount_total"/>
160 </calendar>
161
162=== modified file 'stock/stock_view.xml'
163--- stock/stock_view.xml 2014-04-22 09:25:29 +0000
164+++ stock/stock_view.xml 2014-04-29 04:43:46 +0000
165@@ -735,6 +735,7 @@
166 <field name="origin"/>
167 <field name="type"/>
168 <field name="partner_id"/>
169+ <field name="state" invisible="1"/>
170 </calendar>
171 </field>
172 </record>
173@@ -880,6 +881,7 @@
174 <field name="origin"/>
175 <field name="type"/>
176 <field name="partner_id"/>
177+ <field name="state" invisible="1"/>
178 </calendar>
179 </field>
180 </record>
181@@ -1011,6 +1013,7 @@
182 <field name="origin"/>
183 <field name="type"/>
184 <field name="partner_id"/>
185+ <field name="state" invisible="1"/>
186 </calendar>
187 </field>
188 </record>

Subscribers

People subscribed via source and target branches

to all changes: