Re: [tryton] Empty Party Address created with Proteus and Bypass Error.

2016-05-30 Thread PhiJ


El lunes, 30 de mayo de 2016, 10:19:06 (UTC+3), Giovanni escribió:
>
>
> 2016-05-29 12:45 GMT+02:00 PhiJ :
>
>> *You try to bypass an access rule. Document type: ir.sequence*
>> How I should give permissions to my user to avoid this error?
>>
>
> Also, you must be extra careful on rights management for sequences
> since there are special rights on sequence types that do not appear
> in group management screens.
>
> Jean Cavallo
> *Coopengo*
>

Thank you for your help and information Jean! It helped me to know more in 
detail about the system.  

-- 
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/cd055082-96da-4fa7-936d-e045ba48dcea%40googlegroups.com.


Re: [tryton] Empty Party Address created with Proteus and Bypass Error.

2016-05-30 Thread PhiJ


El lunes, 30 de mayo de 2016, 12:08:26 (UTC+3), Sergi Almacellas Abellana 
escribió:
>
> El 30/05/16 a les 10:19, PhiJ ha escrit: 
> > El lunes, 30 de mayo de 2016, 10:16:22 (UTC+3), Sergi Almacellas 
> > Abellana escribió: 
> > 
> > What kind of sequence are creating? Are you sure you are using the 
> > correct sequence type? I normally see this error when there is a 
> > typo in 
> > the sequence type name. 
> > 
> > -- 
> > Sergi Almacellas Abellana 
> > www.koolpi.com  
> > Twitter: @pokoli_srk 
> > 
> > 
> > Hello Sergi, 
> > 
> > I am trying to create a sequence with Proteus because it is a mandatory 
> > field for creating a Fiscal Year, which is my objective. But I tried 
> > with different access permissions with no luck, however, the same user 
> > is able to create the Sequence on Tryton client, so I am a bit confuse 
> > what can it be. 
>
> In this case you can use the helpers defined on the account and 
> account_invoice modules. See: 
>
>
> https://hg.tryton.org/modules/account_invoice/file/tip/tests/scenario_invoice.rst#l13
>  
>
> https://hg.tryton.org/modules/account_invoice/file/tip/tests/scenario_invoice.rst#l37
>  
>

Thank you for the test scenarios data! Now that I came back to work, I 
tested what you said me before about sequence type and that was right! I 
didn't wrote a correct sequence code. Thanks a lot!

Best regards!

-- 
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/b3dc8f45-c737-4310-a58b-c1e34908c991%40googlegroups.com.


Re: [tryton] Empty Party Address created with Proteus and Bypass Error.

2016-05-30 Thread Sergi Almacellas Abellana

El 30/05/16 a les 10:19, PhiJ ha escrit:

El lunes, 30 de mayo de 2016, 10:16:22 (UTC+3), Sergi Almacellas
Abellana escribió:

What kind of sequence are creating? Are you sure you are using the
correct sequence type? I normally see this error when there is a
typo in
the sequence type name.

--
Sergi Almacellas Abellana
www.koolpi.com 
Twitter: @pokoli_srk


Hello Sergi,

I am trying to create a sequence with Proteus because it is a mandatory
field for creating a Fiscal Year, which is my objective. But I tried
with different access permissions with no luck, however, the same user
is able to create the Sequence on Tryton client, so I am a bit confuse
what can it be.


In this case you can use the helpers defined on the account and 
account_invoice modules. See:


https://hg.tryton.org/modules/account_invoice/file/tip/tests/scenario_invoice.rst#l13
https://hg.tryton.org/modules/account_invoice/file/tip/tests/scenario_invoice.rst#l37


--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
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/574C0307.9040103%40koolpi.com.


Re: [tryton] Empty Party Address created with Proteus and Bypass Error.

2016-05-30 Thread PhiJ

El lunes, 30 de mayo de 2016, 10:15:04 (UTC+3), Cédric Krier escribió:
>
>
> You should just pop the default created address: 
>
> >>> party.addresses.pop() 
>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: cedric...@b2ck.com  
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

Excelent! Thank you very much! 

-- 
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/cb18f0e0-076f-49f0-b692-e601503b948c%40googlegroups.com.


Re: [tryton] Empty Party Address created with Proteus and Bypass Error.

2016-05-30 Thread PhiJ
El lunes, 30 de mayo de 2016, 10:16:22 (UTC+3), Sergi Almacellas Abellana 
escribió:
>
> What kind of sequence are creating? Are you sure you are using the 
> correct sequence type? I normally see this error when there is a typo in 
> the sequence type name. 
>
> -- 
> Sergi Almacellas Abellana 
> www.koolpi.com 
> Twitter: @pokoli_srk 
>

Hello Sergi,

I am trying to create a sequence with Proteus because it is a mandatory 
field for creating a Fiscal Year, which is my objective. But I tried with 
different access permissions with no luck, however, the same user is able 
to create the Sequence on Tryton client, so I am a bit confuse what can it 
be.

Thank you for your answer! 

-- 
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/1f9ebb3e-32d0-4152-ba31-a562bc5bc81a%40googlegroups.com.


Re: [tryton] Empty Party Address created with Proteus and Bypass Error.

2016-05-30 Thread Jean Cavallo
2016-05-29 12:45 GMT+02:00 PhiJ :

> *You try to bypass an access rule. Document type: ir.sequence*
> How I should give permissions to my user to avoid this error?
>

Also, you must be extra careful on rights management for sequences
since there are special rights on sequence types that do not appear
in group management screens.

Jean Cavallo
*Coopengo*

-- 
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/CAAc4%2BPYcODH%3DuhgkL_xxGbO_n0yPb11tTny3cZ1LbXDGxzt7-g%40mail.gmail.com.