Merge lp:~openerp-dev/openobject-addons/7.0-opw-586451-pna into lp:openobject-addons/7.0

Proposed by Pinakin Nayi (OpenERP)
Status: Merged
Approved by: Naresh(OpenERP)
Approved revision: no longer in the source branch.
Merged at revision: 9250
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-586451-pna
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
base_calendar/base_calendar.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-586451-pna
Reviewer Review Type Date Requested Status
Martin Trigaux (OpenERP) (community) Approve
Naresh(OpenERP) (community) Approve
Review via email: mp+149266@code.launchpad.net

Description of the change

Hello,

I fixed issue in base_calendar.

To Reproduce :
Login with any user except admin.
Create crm meeting with Privacy = private.
Try to save its generate warning like "Count cannot be negative or 0."

Thanks,
pna

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Merged into addons 7.0
revno: 9250 [merge]
revision-id: <email address hidden>
Thanks for the patch

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'base_calendar/base_calendar.py'
2--- base_calendar/base_calendar.py 2012-12-28 11:18:53 +0000
3+++ base_calendar/base_calendar.py 2013-02-19 12:58:25 +0000
4@@ -1510,7 +1510,7 @@
5 continue
6 if r['class']=='private':
7 for f in r.keys():
8- if f not in ('id','date','date_deadline','duration','user_id','state'):
9+ if f not in ('id','date','date_deadline','duration','user_id','state','interval','count'):
10 if isinstance(r[f], list):
11 r[f] = []
12 else: