Tryton Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(649)

Issue 41571002: trytond: Make application decorator and classes reusable

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 2 months ago by pokoli
Modified:
1 year ago
Reviewers:
ced, reviewbot
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 7

Patch Set 2 : Use static mixind and functions to reuse more code #

Patch Set 3 : Fix class name on super call #

Total comments: 2

Patch Set 4 : Rename login into register #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -69 lines) Patch
M trytond/protocols/wrappers.py View 1 2 3 1 chunk +39 lines, -35 lines 0 comments Download
M trytond/res/routes.py View 1 2 3 3 chunks +2 lines, -29 lines 0 comments Download
M trytond/res/user.py View 1 2 3 4 chunks +42 lines, -5 lines 0 comments Download

Messages

Total messages: 13
pokoli
6 years, 2 months ago (2017-09-20 13:59:47 UTC) #1
reviewbot
https://codereview.tryton.org/41571002/diff/1/trytond/res/user.py#newcode535 trytond/res/user.py:535: E712 comparison to True should be 'if cond is True:' or 'if cond:' ...
6 years, 2 months ago (2017-09-20 14:21:29 UTC) #2
ced
https://tryton-rietveld.appspot.com/41571002/diff/1/trytond/protocols/wrappers.py File trytond/protocols/wrappers.py (right): https://tryton-rietveld.appspot.com/41571002/diff/1/trytond/protocols/wrappers.py#newcode147 trytond/protocols/wrappers.py:147: def application_decorator(logger, model): I do not think logger should ...
6 years, 2 months ago (2017-09-25 18:45:59 UTC) #3
pokoli
Use static mixind and functions to reuse more code
6 years, 2 months ago (2017-09-26 16:05:10 UTC) #4
reviewbot
https://codereview.tryton.org/41571002/diff/20001/trytond/res/user.py#newcode535 trytond/res/user.py:535: E712 comparison to True should be 'if cond is True:' or 'if cond:' ...
6 years, 2 months ago (2017-09-26 16:16:03 UTC) #5
pokoli
https://tryton-rietveld.appspot.com/41571002/diff/1/trytond/res/user.py File trytond/res/user.py (right): https://tryton-rietveld.appspot.com/41571002/diff/1/trytond/res/user.py#newcode766 trytond/res/user.py:766: def user_application(user_model): On 2017/09/25 18:45:59, ced wrote: > idem ...
6 years, 2 months ago (2017-09-26 16:58:38 UTC) #6
ced
LGTM
6 years ago (2017-11-13 10:09:57 UTC) #7
pokoli
Fix class name on super call
6 years ago (2017-11-13 11:31:28 UTC) #8
reviewbot
https://codereview.tryton.org/41571002/diff/40001/trytond/res/user.py#newcode535 trytond/res/user.py:535: E712 comparison to True should be 'if cond is True:' or 'if cond:' ...
6 years ago (2017-11-13 11:33:48 UTC) #9
ced
https://codereview.tryton.org/41571002/diff/40001/trytond/res/user.py File trytond/res/user.py (right): https://codereview.tryton.org/41571002/diff/40001/trytond/res/user.py#newcode845 trytond/res/user.py:845: def login(cls, users, login, data): For me, login is ...
5 years, 9 months ago (2018-03-10 18:34:39 UTC) #10
ced
https://codereview.tryton.org/41571002/diff/40001/trytond/res/user.py File trytond/res/user.py (right): https://codereview.tryton.org/41571002/diff/40001/trytond/res/user.py#newcode845 trytond/res/user.py:845: def login(cls, users, login, data): On 2018/03/10 18:34:39, ced ...
5 years, 9 months ago (2018-03-10 18:35:02 UTC) #11
pokoli
Rename login into register
5 years, 8 months ago (2018-03-19 09:37:37 UTC) #12
reviewbot
5 years, 8 months ago (2018-03-19 09:47:00 UTC) #13
https://codereview.tryton.org/41571002/diff/60001/trytond/res/user.py#newcode621
trytond/res/user.py:621:
E712 comparison to True should be 'if cond is True:' or 'if cond:'

URL: https://codereview.tryton.org/41571002
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld d9ca037-tainted