Tryton - Issues

 

Issue6460

Title Allow SQL expression as value for sql_format
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type feature request Components account_invoice_history, trytond
Assigned To ced Keywords review
Reviews 279431002,285241002
View: 279431002, 285241002

Created on 2017-04-21.16:20:10 by ced, last changed by roundup-bot.

Messages
New changeset c45236c291fb by Cédric Krier in branch 'default':
Allow SQL expression as value of fields
https://hg.tryton.org/tryton-env/rev/c45236c291fb
New changeset e4f619ba9c25 by Cédric Krier in branch 'default':
Allow SQL expression as value of fields
https://hg.tryton.org/trytond/rev/e4f619ba9c25
New changeset 8c235c23550b by Cédric Krier in branch 'default':
Use SQL CurrentTimestamp to fill numbered_at
https://hg.tryton.org/modules/account_invoice_history/rev/8c235c23550b
review279431002 updated at https://codereview.tryton.org/279431002/#ps271491003
review285241002 updated at https://codereview.tryton.org/285241002/#ps265491003
review279431002 updated at https://codereview.tryton.org/279431002/#ps265491002
msg33343 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-04-21.17:15:33
The module account_invoice_history could use it to store as the open date the transaction timestamp.
msg33338 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-04-21.16:20:10
I think it could be useful for example to allow to write the CurrentTimestamp of the transaction (instead of the python datetime now).
History
Date User Action Args
2019-06-26 21:56:41roundup-botsetmessages: + msg50417
2019-06-26 21:56:37roundup-botsetmessages: + msg50416
2019-06-26 21:56:31roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg50414
2019-05-29 18:12:16reviewbotsetmessages: + msg49902
2019-05-29 17:13:06reviewbotsetmessages: + msg49901
2019-05-29 17:12:32reviewbotsetnosy: + reviewbot
messages: + msg49900
2019-05-29 16:59:29cedsetreviews: 279431002 -> 279431002,285241002
2019-05-29 16:41:20cedsetstatus: in-progress -> testing
reviews: 279431002
keyword: + review
2019-05-29 12:42:07cedsetstatus: chatting -> in-progress
assignedto: ced
2017-04-21 17:15:33cedsetstatus: unread -> chatting
component: + account_invoice_history
messages: + msg33343

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