sequence to strict

34 views
Skip to first unread message

Carlos Eduardo Sotelo Pinto

unread,
Mar 14, 2018, 11:51:01 AM3/14/18
to try...@googlegroups.com
Dear comunity

I have tryton to move on a production environment, a sequence definition field to strict sequence definition fields, however when I tryt to do it on a testing environment, sequences created get deprecated and I must create new ones, then my questions is

Is possible to redefine a sequence as a strict sequence without lost defined sequence ? ( no pain movement ) 

​Thanks  a lot

--
Carlos Eduardo Sotelo Pinto
    Agile Coach | Python Software Developer | Tryton ERP Consultant
    Claro RPC +51 989550602
    Skype: csotelop
    GNULinux RU #379182 | GNULinux RM #277661

Please consider the environment before printing this email
Join the campaign at http://thinkBeforePrinting.org

Cédric Krier

unread,
Mar 14, 2018, 5:25:04 PM3/14/18
to try...@googlegroups.com
On 2018-03-14 10:50, Carlos Eduardo Sotelo Pinto wrote:
> I have tryton to move on a production environment, a sequence definition
> field to strict sequence definition fields, however when I tryt to do it on
> a testing environment, sequences created get deprecated and I must create
> new ones, then my questions is

I'm not sure to understand this desription.

> Is possible to redefine a sequence as a strict sequence without lost
> defined sequence ? ( no pain movement )

No, sequence and sequence strict are two different Models which are
stored on different table. So it is not possible to change one for
another.
A sequence strict should only be used when there is a hard constraint
about the sequence generated like the invoice because it has a
performance drawbacks to guarantee the strictness.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Carlos Eduardo Sotelo Pinto

unread,
Mar 14, 2018, 9:03:06 PM3/14/18
to try...@googlegroups.com
Hi Cedrik

On Wed, Mar 14, 2018 at 4:20 PM, Cédric Krier <cedric...@b2ck.com> wrote:
On 2018-03-14 10:50, Carlos Eduardo Sotelo Pinto wrote:
> I have tryton to move on a production environment, a sequence definition
> field to strict sequence definition fields, however when I tryt to do it on
> a testing environment, sequences created get deprecated and I must create
> new ones, then my questions is

I'm not sure to understand this desription.

> Is possible to redefine a sequence as a strict sequence without lost
> defined sequence ? ( no pain movement )

No, sequence and sequence strict are two different Models which are
stored on different table. So it is not possible to change one for
another.
A sequence strict should only be used when there is a hard constraint
about the sequence generated like the invoice because it has a
performance drawbacks to guarantee the strictness.


​Unfortunately for me, is the same as I have found

Thanks a lot for your explanation

Best regards​

 
--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180314212039.GL788%40kei.
Reply all
Reply to author
Forward
0 new messages