Merge lp:~serpent-consulting-services/openobject-addons/6.1-context-today-1036655-SerpentCS into lp:openobject-addons/6.1

Proposed by Serpent Consulting Services
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6948
Proposed branch: lp:~serpent-consulting-services/openobject-addons/6.1-context-today-1036655-SerpentCS
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
purchase/purchase.py (+1/-1)
To merge this branch: bzr merge lp:~serpent-consulting-services/openobject-addons/6.1-context-today-1036655-SerpentCS
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+119682@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Dear OPW Team,

This might interest you a little.

Thanks.

Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve

Unmerged revisions

6948. By Serpent Consulting Services

[FIX] Purchase : Correction over the call to context_today()

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'purchase/purchase.py'
2--- purchase/purchase.py 2012-07-25 17:07:19 +0000
3+++ purchase/purchase.py 2012-08-15 07:49:19 +0000
4@@ -773,7 +773,7 @@
5
6 # - determine product_qty and date_planned based on seller info
7 if not date_order:
8- date_order = fields.date.context_today(cr,uid,context=context)
9+ date_order = fields.date.context_today(self, cr, uid, context=context)
10
11 qty = qty or 1.0
12 supplierinfo = False