[tryton-es] Re: ¿Por qué es lenta al ejecución de Tryton 4.0 en un hosting VPS?

2017-03-24 Thread Fabyc
On Friday, March 24, 2017 at 5:36:06 PM UTC-5, Fabyc wrote:
>
> Hola a tod@s.
>
> Realicé pruebas de ejecución de Tryton 4.0 en una VM con Virtualbox 
> y se ejecuta mucho más rápido que la versión 3.4 en la misma VM 
> en mi computador.
>
> Luego hice pruebas en un hosting VPS con KVM y la versión 3.4 si se 
> ejecuta rápido pero la versión 4.0 toma como de 5 a 8 segundos en 
> abrir una ventana, cambiar de vista o guardar un registro.
>
> Tendrá que ver algo con la ejecución de werkzeug (de la 4.0) en hosting 
> VPS? Será necesario tal vez afinar o configurar algo de Tryton para que 
> se ejecute rápido así como lo hace la 3.4?
>
> El hosting VPS tiene estas características:
> - 2 GB de RAM
> - Procesador Intel(R) Xeon(R) CPU E5-2630L v4 @ 1.80GHz
>

Olvidé indicar el SO: Debian Wheezy


[tryton-es] ¿Por qué es lenta al ejecución de Tryton 4.0 en un hosting VPS?

2017-03-24 Thread Fabyc
Hola a tod@s.

Realicé pruebas de ejecución de Tryton 4.0 en una VM con Virtualbox 
y se ejecuta mucho más rápido que la versión 3.4 en la misma VM 
en mi computador.

Luego hice pruebas en un hosting VPS con KVM y la versión 3.4 si se 
ejecuta rápido pero la versión 4.0 toma como de 5 a 8 segundos en 
abrir una ventana, cambiar de vista o guardar un registro.

Tendrá que ver algo con la ejecución de werkzeug (de la 4.0) en hosting 
VPS? Será necesario tal vez afinar o configurar algo de Tryton para que 
se ejecute rápido así como lo hace la 3.4?

El hosting VPS tiene estas características:
- 2 GB de RAM
- Procesador Intel(R) Xeon(R) CPU E5-2630L v4 @ 1.80GHz

También probé en otro hosting VPS con similares características e igual 
la versión 4.0 de Tryton se ejecuta lento.

Espero que me puedan dar una orientación al respecto de qué podría 
hacer para que se ejecute igual de rápido que la 3.4.

Las pruebas las realicé instalando sólo los siguentes módulos:

- Party
- Product
- Company

Desde ya muchas gracias por la ayuda que me puedan dar.

--
Saludos cordiales


[tryton] Re: printing moves and journals

2017-03-24 Thread Richard PALO

Le 24/03/2017 à 12:23, Cédric Krier a écrit :

On 2017-03-22 15:42, Richard PALO wrote:

I was just stupefied to notice that there seems to be no default way to print a
standard account move nor a period journal report.


I guess most of our users embraced the dematerialized movement :-)


ja, but I need a file to be able to store and/or forward it
(but not necessarily print it >:)


Could only find doing a date-to-date general journal report which includes all 
moves in
all journals for the date range selected.

Has anybody else that missed this functionality already added something?


This may answer: https://bugs.tryton.org/issue3696



Great, thanks... I'll take a look this weekend.

Cheers,
--

Richard PALO

--
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/192b0056-d75c-1bbe-6605-5ef39e03e672%40free.fr.


Re: [tryton] Re: account_invoice reports

2017-03-24 Thread Richard PALO

Le 24/03/2017 à 09:10, Cédric Krier a écrit :

I see only two possibilities:

- the report is cached because you are testing on a posted invoice

- the "invoice.origins or invoice.reference" is not false. Maybe a space
  in the reference field.


This was my error, I thought that tryton stored the path and not the bytes
of the report when modified in Administration->UI->Actions->Reports->Facture

If I update upon every change of the model it seems okay. Sorry for the noise.

--

Richard PALO

--
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/09009b3c-e889-edc4-1586-346edaf5ccad%40free.fr.


Re: [tryton] printing moves and journals

2017-03-24 Thread Cédric Krier
On 2017-03-22 15:42, Richard PALO wrote:
> I was just stupefied to notice that there seems to be no default way to print 
> a
> standard account move nor a period journal report.

I guess most of our users embraced the dematerialized movement :-)

> Could only find doing a date-to-date general journal report which includes 
> all moves in
> all journals for the date range selected.
> 
> Has anybody else that missed this functionality already added something?

This may answer: https://bugs.tryton.org/issue3696

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@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/20170324112314.GQ43953%40tetsuo.


Re: [tryton] Setting for Use tax on supplier invoice

2017-03-24 Thread Cédric Krier
On 2017-03-24 03:16, 'Artem Braga' via tryton wrote:
> Use tax is the following: a company can buy a good/service at a net price 
> (without tax) and then- should declare a use tax liability on that purchase 
> and pay this liability to the government.
> In an sample scenario- for a $ 100 net price purchase a buyer must declare 
> a 10% use tax liability and pay $10 of use tax to government. 
> 
> Is there a possibility to apply a tax on a supplier invoice, so that tax 
> amount appeared on the credit side (liability) of balance sheet account? If 
> yes, what should be a tax settings for that? 

For what I understand you still have to debit the tax amount on the tax
account but you want to credit it not on the supplier expense account
but on an account for government liability.

I think you can do that by defining the tax with two opposite children
taxes with each one having the right tax account.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@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/20170324110349.GP43953%40tetsuo.


[tryton] Setting for Use tax on supplier invoice

2017-03-24 Thread 'Artem Braga' via tryton
Hello

I'm looking for the possibility to set-up taxes in Tryton so that a use 
taxes for the US and similar taxes could be handled. 

Use tax is the following: a company can buy a good/service at a net price 
(without tax) and then- should declare a use tax liability on that purchase 
and pay this liability to the government.
In an sample scenario- for a $ 100 net price purchase a buyer must declare 
a 10% use tax liability and pay $10 of use tax to government. 

Wondering how use tax can be set-up in Tryton, because:
1. Supplier invoices in Tryton can have taxes only with group of "purchase" 
or "both" kind or taxes without group.
2. If tax belongs to the group of "purchase" or "both" kind or does not 
belong to any group, tax amount from supplier invoice is booked on the 
debit side of balance sheet account (asset).

Is there a possibility to apply a tax on a supplier invoice, so that tax 
amount appeared on the credit side (liability) of balance sheet account? If 
yes, what should be a tax settings for that? 
Thank you 
Artem

-- 
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/4f6d6199-c9c2-4fcb-a5ea-7620897a6c68%40googlegroups.com.


Re: [tryton] Re: account_invoice reports

2017-03-24 Thread Cédric Krier
On 2017-03-24 07:14, Richard PALO wrote:
> Another question I have in this report, is I'm trying
> to avoid printing the 'Reference:' field if empty (mostly client invoices).
> 
> So I first tried simply putting
> > 
> > 
> around the 'Reference:' clause, but it still printed a blank 'Reference:' 
> field.
> 
> Tried just "invoice.reference" and some other combinations to no avail.
> 
> Is there some special magic needed to add a guard here?
> I doubled checked to see that it wasn't using a cached file, and that 
> Reference was indeed empty,
> so there seems to be something with the logic.

I see only two possibilities:

- the report is cached because you are testing on a posted invoice

- the "invoice.origins or invoice.reference" is not false. Maybe a space
  in the reference field.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@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/20170324081009.GM43953%40tetsuo.


Re: [tryton-fr] Fuseau horaire

2017-03-24 Thread Cédric Krier
On 2017-03-21 07:22, Camille wrote:
> 
> 
> > Il faut avoir le package pytz installé. 
> >
> 
> Merci, ça fonctionne maintenant.
> 
> Je n'avais pas eu ce problème la semaine dernière, est-ce un prérequis 
> nouveau ?
> Je viens pourtant de regarder la doc, je ne le vois pas. 

C'est une dépendance optionnelle. Donc le logiciel fonction sans mais
c'est mieux de l'avoir si on veut définir la date de "aujourd'hui".

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

-- 
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/20170324081143.GN43953%40tetsuo.


[tryton] Re: account_invoice reports

2017-03-24 Thread Richard PALO

Another question I have in this report, is I'm trying
to avoid printing the 'Reference:' field if empty (mostly client invoices).

So I first tried simply putting




around the 'Reference:' clause, but it still printed a blank 'Reference:' field.

Tried just "invoice.reference" and some other combinations to no avail.

Is there some special magic needed to add a guard here?
I doubled checked to see that it wasn't using a cached file, and that Reference 
was indeed empty,
so there seems to be something with the logic.
--

Richard PALO

--
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/d62c05ef-9899-fa09-015c-fe7f98325835%40free.fr.