Merge lp:~ssebastian/openerp-usa/bug_fix_check_reprinting_1910 into lp:openerp-usa/6.1.x

Proposed by Sinoj Sebastin
Status: Merged
Merged at revision: 68
Proposed branch: lp:~ssebastian/openerp-usa/bug_fix_check_reprinting_1910
Merge into: lp:openerp-usa/6.1.x
Diff against target: 58 lines (+8/-5)
3 files modified
account_check_writing/Change Log.txt (+4/-1)
account_check_writing/__openerp__.py (+1/-1)
account_check_writing/wizard/check_print.py (+3/-3)
To merge this branch: bzr merge lp:~ssebastian/openerp-usa/bug_fix_check_reprinting_1910
Reviewer Review Type Date Requested Status
npg Pending
Review via email: mp+116631@code.launchpad.net

Description of the change

Error fix on check reprinting - NPG Task 1910

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_check_writing/Change Log.txt'
2--- account_check_writing/Change Log.txt 2012-07-11 13:55:08 +0000
3+++ account_check_writing/Change Log.txt 2012-07-25 12:25:24 +0000
4@@ -1,7 +1,10 @@
5 ===============================================================================
6 Version Change Log (account_check_writing)
7 ===============================================================================
8-1.90 2012-07-11
9+1.91 2012-07-20 Janeesh
10+ * Fixed error on reprinting check
11+
12+1.90 2012-07-11 Janeesh
13 * Fixed issue with amount total in words
14
15 1.89 2012-07-10 by Rima
16
17=== modified file 'account_check_writing/__openerp__.py'
18--- account_check_writing/__openerp__.py 2012-07-11 13:55:08 +0000
19+++ account_check_writing/__openerp__.py 2012-07-25 12:25:24 +0000
20@@ -21,7 +21,7 @@
21 ##############################################################################
22 {
23 "name": "Check writing",
24- "version": "1.90",
25+ "version": "1.91",
26 "author": "OpenERP SA",
27 "category": "Generic Modules/Accounting",
28 "description": """
29
30=== modified file 'account_check_writing/wizard/check_print.py'
31--- account_check_writing/wizard/check_print.py 2012-06-26 20:13:27 +0000
32+++ account_check_writing/wizard/check_print.py 2012-07-25 12:25:24 +0000
33@@ -278,7 +278,7 @@
34 ret[field] = True
35 return {'value': ret}
36
37- def _update_check_log_status(self, cr, uid, context=None):
38+ def _update_check_log_status(self, cr, uid, ids, context=None):
39 if context is None:
40 context = {}
41 data = self.browse(cr, uid, ids[0], context=context)
42@@ -294,14 +294,14 @@
43 """
44 Function to update check log status
45 """
46- self._update_check_log_status(cr, uid, context=context)
47+ self._update_check_log_status(cr, uid, ids, context=context)
48 self.write(cr, uid, ids, {'preprint_msg': '', 'state': 'do_update'}, context=context)
49
50 def print_new(self, cr, uid, ids, context=None):
51 """
52 Function to update check log status
53 """
54- self._update_check_log_status(cr, uid, context=context)
55+ self._update_check_log_status(cr, uid, ids, context=context)
56 self.write(cr, uid, ids,{'preprint_msg': '', 'state': 'print'}, context=context)
57
58 print_check()