Tryton - Issues

 

Issue6661

Title Add __int__ to Model
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type feature request Components proteus
Assigned To ced Keywords review
Reviews 35191002
View: 35191002

Created on 2017-07-20.19:36:15 by ced, last changed by roundup-bot.

Messages
New changeset d983bdf01c78 by C├ędric Krier in branch 'default':
Add __int__ to Model
http://hg.tryton.org/proteus/rev/d983bdf01c78
review35191002 updated at https://codereview.tryton.org/35191002/#ps40001
review35191002 updated at https://codereview.tryton.org/35191002/#ps20001
msg34710 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-07-20.19:36:15
It can be useful to support int(record) in proteus because it allow to use an instance or an id in the code by just calling int on it.
History
Date User Action Args
2017-08-02 19:33:16roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg34970
2017-07-21 12:34:17reviewbotsetmessages: + msg34720
2017-07-21 09:09:45pokolisettitle: Add __init__ to Model -> Add __int__ to Model
2017-07-20 19:42:37reviewbotsetnosy: + reviewbot
messages: + msg34713
2017-07-20 19:41:49cedlinkissue6652 superseder
2017-07-20 19:37:00cedsetstatus: in-progress -> testing
reviews: 35191002
keyword: + review
2017-07-20 19:36:15cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)