Discussion:
[tryton] sequence to strict
Carlos Eduardo Sotelo Pinto
2018-03-14 15:50:37 UTC
Permalink
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 <989%20550%20602>
Skype: csotelop
GNULinux RU #379182 | GNULinux RM #277661

*Please consider the environment before printing this email*

*Join the campaign at http://thinkBeforePrinting.org
<http://thinkBeforePrinting.org>*
--
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/CAEhw%3DE9grUvdnUwOZUL%2BhbhyUonnaOZNGBA2F_aVN1aG7%2Bp7jA%40mail.gmail.com.
Cédric Krier
2018-03-14 21:20:39 UTC
Permalink
Post by Carlos Eduardo Sotelo Pinto
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.
Post by Carlos Eduardo Sotelo Pinto
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: ***@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.
Carlos Eduardo Sotelo Pinto
2018-03-15 01:02:44 UTC
Permalink
Hi Cedrik
Post by Cédric Krier
Post by Carlos Eduardo Sotelo Pinto
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
Post by Carlos Eduardo Sotelo Pinto
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.
Post by Carlos Eduardo Sotelo Pinto
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​
Post by Cédric Krier
--
Cédric Krier - B2CK SPRL
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.
--
Carlos Eduardo Sotelo Pinto
Agile Coach | Python Software Developer | Tryton ERP Consultant
Claro RPC +51 989550602 <989%20550%20602>
Skype: csotelop
GNULinux RU #379182 | GNULinux RM #277661

*Please consider the environment before printing this email*

*Join the campaign at http://thinkBeforePrinting.org
<http://thinkBeforePrinting.org>*
--
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/CAEhw%3DE-Qox0vXFdKy7h%2B%3DUSe%3DS9rdEtDvtUU6aFeqzS6pPP7cg%40mail.gmail.com.
Loading...