Sometimes it would be useful to have a console with a Tryton transaction opened on a database. For example, in case of a bug to correct the issue or when developing to check some data or function.
I think by default the transaction should be roll-backed to avoid mistakes and enforce explicit commit.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
I think this is a nice addition. We've been using something similar using
proteus and it's great [1]. Maybe proteus could provide something similar.
Maybe even just calling "proteus postgresql:///database" from the command
line.
I understand you don't want to add a large dependency here, but we used
ipython and the code is really simple and allows to register magic
functions which can make some thins even easier. Not an absolute must, but
nice to have.
Missatge de Cédric Krier <bugs@tryton.org> del dia dl., 18 de febr. 2019 a
les 13:56:
>
> New submission from Cédric Krier <cedric.krier@b2ck.com>:
>
> Sometimes it would be useful to have a console with a Tryton transaction
> opened on a database. For example, in case of a bug to correct the issue or
> when developing to check some data or function.
> I think by default the transaction should be roll-backed to avoid mistakes
> and enforce explicit commit.
>
> ----------
> assignedto: ced
> component: trytond
> messages: 47085
> nosy: ced
> priority: feature
> status: in-progress
> title: Add console
> type: feature request
>
> ______________________________________
> Tryton issue tracker <bugs@tryton.org>
> <https://bugs.tryton.org/#8126>
> ______________________________________
>
I do not think it deserves to support a new dependency. But indeed the focus should be put on improving the namespace. The Pool.get could be replaced in the future by something else that allow better completion.