Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(31)

Issue 1892048: Convert Sale Module to Transaction system (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 6 months ago by pheller
Modified:
15 years, 6 months ago
Reviewers:
ced
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : oops, forgot with statement import #

Total comments: 23

Patch Set 3 : Fixes per ced's notes #

Total comments: 5

Patch Set 4 : fixes per ced #

Patch Set 5 : fixed context in on_change_lines() #

Total comments: 1

Patch Set 6 : restored line continuation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -531 lines) Patch
M INSTALL View 1 chunk +1 line, -1 line 0 comments Download
M sale.py View 1 2 3 4 5 48 chunks +357 lines, -530 lines 0 comments Download

Messages

Total messages: 12
pheller
Ok, my first shot at sale.
15 years, 6 months ago (2010-08-04 19:46:08 UTC) #1
pheller
15 years, 6 months ago (2010-08-04 19:58:53 UTC) #2
ced
http://codereview.appspot.com/1892048/diff/3001/4002 File sale.py (right): http://codereview.appspot.com/1892048/diff/3001/4002#newcode145 sale.py:145: Transaction().cursor.execute("UPDATE ir_model_data "\ Better to define cursor at the ...
15 years, 6 months ago (2010-08-04 21:48:05 UTC) #3
pheller
Other changes corrected. I do see many unnecessary explicit line continuations ("\") in the code, ...
15 years, 6 months ago (2010-08-04 23:05:49 UTC) #4
pheller
15 years, 6 months ago (2010-08-04 23:06:39 UTC) #5
ced
http://codereview.appspot.com/1892048/diff/9001/10002 File sale.py (right): http://codereview.appspot.com/1892048/diff/9001/10002#newcode145 sale.py:145: cursor = Transaction().cursor Move cursor init before comment http://codereview.appspot.com/1892048/diff/9001/10002#newcode201 ...
15 years, 6 months ago (2010-08-05 06:11:15 UTC) #6
pheller
http://codereview.appspot.com/1892048/diff/9001/10002 File sale.py (right): http://codereview.appspot.com/1892048/diff/9001/10002#newcode334 sale.py:334: for tax in tax_obj.compute(line.get('taxes', []), On 2010/08/05 06:11:15, ced ...
15 years, 6 months ago (2010-08-05 15:04:29 UTC) #7
pheller
15 years, 6 months ago (2010-08-05 15:47:22 UTC) #8
ced
Ok for me
15 years, 6 months ago (2010-08-05 16:43:20 UTC) #9
ced
http://codereview.appspot.com/1892048/diff/16001/17002 File sale.py (right): http://codereview.appspot.com/1892048/diff/16001/17002#newcode1108 sale.py:1108: amount = Decimal(str(vals.get('quantity') or '0.0')) * Can not remove ...
15 years, 6 months ago (2010-08-05 16:46:16 UTC) #10
pheller
15 years, 6 months ago (2010-08-05 16:51:26 UTC) #11
ced
15 years, 6 months ago (2010-08-05 17:22:32 UTC) #12
Ok for me
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b