Re: [tryton] journal sequences by fiscal year

2018-04-03 Thread Richard PALO

Le 03/04/2018 à 18:54, Cédric Krier a écrit :

On 2018-04-03 18:44, Richard PALO wrote:

Interestingly, article III.C.4 Avis CNC 174-1 - Les principes d'une 
comptabilité régulière
found in the site of the Belgian CNC 
http://www.cnc-cbn.be/files/advice/link/FR_174-01.htm
is quite similar to usages in France:

Dans chaque journal, les écritures doivent être identifiées par un numéro 
séquentiel
formant, le cas échéant par période comptable ou par exercice, une série 
continue.

Which quickly translated says that 'In each journal, the entries must be 
identified by a
sequential number forming a continuous series, either by accounting period or 
by fiscal year.'


This ensured by the *Post Number* field.



Perhaps I missed something, since when is the *post number* journal-specific?

Until now I understood it to be cross-journal by fiscal year (as it is 
configured on the FY).

But the point is, at least in France, in mode 'brouillard', the number is 
consecutive upon initial entry.
Post number is consecutive upon validation(posting) which may be somewhat an 
arbitrary order.

--

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/846325f3-5ff0-3194-69a0-b1f6784ce63c%40free.fr.


Re: [tryton] journal sequences by fiscal year

2018-04-03 Thread Richard PALO

Le 02/04/2018 à 21:58, Cédric Krier a écrit :

On 2018-04-02 18:43, Richard PALO wrote:

How to set sequences created for general journals to reset every fiscal year?


It is not possible.


'not possible' is probably missing the adverb 'currently'


It is true that the posted move sequence and invoicing sequences are reset, but
any journal that touches the GL should be as well.


Why?



Well, first off, history shows that many accounting systems permit such, and 
some
even do so automatically.

Secondly, it more closely respects the independence of fiscal years where 
currently
internal numbering of journal entries does not.

Finally, organisations have their internal procedures for 
verification/validation.

Example: journal 'OD' is a general journal for miscellaneous operations working 
on
finishing up 2017 while 2018 is rolling right along, the mixed numbering and/or 
holes may
make certain actors uneasy (namely the direction, public accountants and 
auditors).

Naturally, an organisation often frowns/balks on limitations migrating to a new 
system
in absence of very good and motivated reasoning.

Interestingly, article III.C.4 Avis CNC 174-1 - Les principes d'une 
comptabilité régulière
found in the site of the Belgian CNC 
http://www.cnc-cbn.be/files/advice/link/FR_174-01.htm
is quite similar to usages in France:

Dans chaque journal, les écritures doivent être identifiées par un numéro 
séquentiel
formant, le cas échéant par période comptable ou par exercice, une série continue. 

Which quickly translated says that 'In each journal, the entries must be 
identified by a
sequential number forming a continuous series, either by accounting period or 
by fiscal year.'

--

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/ecce15ed-99ec-2669-2506-2fb239f6f787%40free.fr.


Re: [tryton] journal sequences by fiscal year

2018-04-03 Thread Cédric Krier
On 2018-04-03 18:44, Richard PALO wrote:
> Interestingly, article III.C.4 Avis CNC 174-1 - Les principes d'une 
> comptabilité régulière
> found in the site of the Belgian CNC 
> http://www.cnc-cbn.be/files/advice/link/FR_174-01.htm
> is quite similar to usages in France:
> > Dans chaque journal, les écritures doivent être identifiées par un numéro 
> > séquentiel
> > formant, le cas échéant par période comptable ou par exercice, une série 
> > continue. 
> Which quickly translated says that 'In each journal, the entries must be 
> identified by a
> sequential number forming a continuous series, either by accounting period or 
> by fiscal year.'

This ensured by the *Post Number* 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/20180403165414.GJ3910%40kei.


Re: [tryton] journal sequences by fiscal year

2018-04-03 Thread Richard PALO

Le 03/04/2018 à 18:54, Dominique Chabord a écrit :

2018-04-03 18:44 GMT+02:00 Richard PALO :


Dans chaque journal, les écritures doivent être identifiées par un numéro
séquentiel
formant, le cas échéant par période comptable ou par exercice, une série
continue.


Which quickly translated says that 'In each journal, the entries must be
identified by a
sequential number forming a continuous series, either by accounting period
or by fiscal year.'



Personnaly, my translation of "le cas échéant", would be "optionaly"
and not "either".



Hmm, I guess I simply used 'either' to mean 'where appropriate' or 'if need 
be':-)

--

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/35816377-431a-3556-5f17-66ea41e84905%40free.fr.


Re: [tryton] journal sequences by fiscal year

2018-04-03 Thread Cédric Krier
On 2018-04-03 19:18, Richard PALO wrote:
> Le 03/04/2018 à 18:54, Cédric Krier a écrit :
> > On 2018-04-03 18:44, Richard PALO wrote:
> >> Interestingly, article III.C.4 Avis CNC 174-1 - Les principes d'une 
> >> comptabilité régulière
> >> found in the site of the Belgian CNC 
> >> http://www.cnc-cbn.be/files/advice/link/FR_174-01.htm
> >> is quite similar to usages in France:
> >>> Dans chaque journal, les écritures doivent être identifiées par un numéro 
> >>> séquentiel
> >>> formant, le cas échéant par période comptable ou par exercice, une série 
> >>> continue.
> >> Which quickly translated says that 'In each journal, the entries must be 
> >> identified by a
> >> sequential number forming a continuous series, either by accounting period 
> >> or by fiscal year.'
> > 
> > This ensured by the *Post Number* field.
> > 
> 
> Perhaps I missed something, since when is the *post number* journal-specific?

It is not. I just point you that how this article is implemented.

> But the point is, at least in France, in mode 'brouillard', the number is 
> consecutive upon initial entry.

I never see any where such requirement for draft accounting. And it is
quite logical because it would make loosing its meaning to draft
accounting.

> Post number is consecutive upon validation(posting) which may be somewhat an 
> arbitrary order.

It is not arbitrary, it is chronological.

-- 
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/20180403214558.GL3910%40kei.


Re: [tryton-fr] configuration comptable des catégories produit

2018-04-03 Thread JC Michel

Bonjour,


On 26 Mar 2018, at 17:27, Cédric Krier wrote:

On 2018-03-26 16:18, Richard PALO wrote:

Le 26/03/2018 à 12:50, lists.jc.mic...@symetrie.com a écrit :

Bonjour,

Je bute sur la configuration comptable à entrer dans les champs
Compte de stock
Compte de stock client
Compte de stock fournisseur
Compte de stock production
Compte de stock pertes et surplus

sous 4.6, avec modules account_fr et account_stock_continental

Aucun compte du plan comptable français n’est sélectionnable, il 
semble nécessaire d’en créer. Pourquoi ?

351 ou 371 devraient être acceptés.

Jean-Christophe Michel


C'est le PCG _développé_ qui est +/- présenté...

C'est à dire, le compte 3511 (ou 371), mais très souvent ces 
comptes sont convertis
en type 'vue' avec un ou plusieurs comptes spécifiques créés comme 
'enfants'.


En fait pour moi, c'est le genre des comptes 3511, 3512, 3551, 3552,
3581, 3585, 3586, 371, 372 etc. qui devraient avoir le genre 'stock'.
Mais aussi, les comptes 6031, 6032, 6037.

J'ai fait une proposition sur: https://bugs.tryton.org/issue7267


Ça fonctionne en éditant le type de ces comptes pour « stock » 
dans cofiguration des comptes.


Pour le champ account_stock_lost_found il faut d’après mon comptable
Pour les pertes, il faut utiliser le compte 6788 (charges 
exceptionnelles diverses) ou 7788 (produits exceptionnels divers)


1. Je n’ai qu’un champ compte : 6788 (je ne peux pas mettre 7788 
pour les « found »)
2. Le type de compte dans account_fr 4.6 pour 6788 n’est pas 
« stock », je ne peux pas le choisir. Faut-il aussi changer en 
« stock » ce type de compte ?


Jean-Christophe Michel
\--
![SYMÉTRIE, livres et 
partitions](http://symetrie.free.fr/signature/symetrie.png "SYMÉTRIE")

---
30 rue Jean-Baptiste Say
69001 LYON
FRANCE

[www.symetrie.com]()

[![www.facebook.com/symetrie](http://symetrie.free.fr/signature/f.png)]() 
| 
[![www.twitter.com/symetriecom](http://symetrie.free.fr/signature/t.png)]() 
| 
[![www.linkedin.com/company/symetrie-music-publisher](http://symetrie.free.fr/signature/l.png)]()


tél : +33 (0) 478 29 52 14

--
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/A6373C40-29D3-4872-8EF1-983A564343E8%40symetrie.com.


Re: [tryton-es] Cambio de Tipo de Producto (Bien/Servicio)

2018-04-03 Thread Sergi Almacellas Abellana
El 02/04/18 a les 20:12, Fernando Sánchez ha escrit:
> Saludos a la Comunidad
> 
> Expongo el siguiente caso:
> 
> Tryton 4.2
> 
> En una orden de compra se consignan 4 lineas de servicios, esta
> confirmada y procesada, se genero la factura y al validar nos damos
> cuenta que uno de los servicios, al ser registrado en el maestro de
> productos se registro como bien y no como servicio.
> 
> AL procesar la orden de compra me generó además el movimiento de ingreso
> en borrador para esta linea que no debió existir pues es un servicio.
> 
> Traté de cambiar en el maestro de productos su tipologia a servicio y me
> sale un mensaje que no puedo hacerlo por que ya existe movimiento de
> stock asociado. Trate de eliminar el movimiento de stock que esta en
> borrador cancelandolo y se recrea de forma automatica.
> 
> Cual seria la solución en este caso?
> 
Deberias cancelar el albaran, los movimientos y la venta. Inactivar el
producto y crear-lo de nuevo con el tipo correcto y crear la nueva venta
con el tipo servicios.

Un saludo,


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


Re: [tryton-es] party_social_contact

2018-04-03 Thread Luis Deiana

>
> Tienes que activar el módulo en tu base de datos y reiniciar el cliente 
> y el servidor para que no se utilizen los valores de cache. 
>
> Hola Sergi, si lo hice varias veces. Seguiré probando.

Saludos. 


Re: [tryton-es] party_social_contact

2018-04-03 Thread Luis Deiana
Solucionado, des-instale e instale el modulo nuevamente y ya veo los otros 
medios de contacto. Para sincronizarlos con google necesito desarrollar 
otro modulo o hay alguno ya echo? 


[tryton-es] Formato de Impresión de Factura

2018-04-03 Thread Fernando Sánchez
Saludos a la comunidad

Estoy buscando la manera de adaptar la impresión del formato de factura a 
un formato pre-impreso, que debe imprimirse en una impresora matricial.
He cuadrado los datos de cabecera y la impresión de las lineas de factura, 
luego tengo un pequeño problemita al imprimir los totales.

En tryton, el Sub-Total, Impuesto y Gran Total se imprimen a continuación 
de la ultima linea de factura, en una posición dinámica dentro de la 
pagina, dependiendo de cuantas lineas tenga la factura. 
Dado que tenemos el formato pre-impreso, en este existe una casilla en 
posición fija en la parte mas baja de la pagina para los totales y no veo 
la manera de como encajar la impresión dentro de estas casillas.
Si alguien pasó por este trance me gustaría saber como superó esta 
situación. O si existe algún modulo para imprimir en modo texto en 
impresora matricial local.

Agradeceré las posibles respuestas.

Fernando Sánchez


[tryton-dev] Disable python3.3 on drone-old

2018-04-03 Thread Cédric Krier
Hi,

I had to remove python3.3 on the python docker image because it fails to
create a virtualenv:

Using base prefix '/usr'
New python executable in 
/var/cache/drone/src/trypod.tryton.org/tryton/modules.stock/.tox/py33-postgresql/bin/python3.3
Also creating executable in 
/var/cache/drone/src/trypod.tryton.org/tryton/modules.stock/.tox/py33-postgresql/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /var/cache/drone/src...gresql/bin/python3.3 
- setuptools pip wheel:
  Collecting setuptools
  Downloading 
http://pypi.tryton.org/root/pypi/+f/ca2/99c7acd13a72e/setuptools-39.0.1-py2.py3-none-any.whl
 (569kB)
Collecting pip
  Downloading 
http://pypi.tryton.org/root/pypi/+f/d51/2ceb964f38ba3/pip-9.0.3-py2.py3-none-any.whl
 (1.4MB)
Collecting wheel
  Downloading 
http://pypi.tryton.org/root/pypi/+f/240/d714477a715bc/wheel-0.31.0-py2.py3-none-any.whl
 (41kB)
wheel requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*' but the 
running Python is 3.3.6

...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py",
 line 2328, in 
main()
  File 
"/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py",
 line 713, in main
symlink=options.symlink)
  File 
"/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py",
 line 945, in create_environment
download=download,
  File 
"/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py",
 line 901, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File 
"/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py",
 line 797, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /var/cache/drone/src...gresql/bin/python3.3 - setuptools 
pip wheel failed with error code 1
Running virtualenv with interpreter /usr/bin/python3.3

This is a Python version that is any way no more supported since
September 29, 2017.

-- 
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-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20180403223730.GM3910%40kei.


Re: [tryton-es] party_social_contact

2018-04-03 Thread Sergi Almacellas Abellana
El 29/03/18 a les 17:14, Luis Deiana ha escrit:
> Hola, utilizo la version 4.0 de Tryton y necesito sincronizar los
> contactos de Tryton con https://contacts.google.com/ para poder
> utilizarlos con Whatsapp Business. Para lo cual creo que me puede servir
> el modulo party_social_contact pero a pesar de instalarlo no veo los
> nuevos medios de contacto.
> Hay que configurar algo mas o alguna sugerencia de como seguir?

Tienes que activar el módulo en tu base de datos y reiniciar el cliente
y el servidor para que no se utilizen los valores de cache.

Un saludo,


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


[tryton-dev] HTTP Error 404 http://hg.tryton.org/trytond/trytond/modules/account_es

2018-04-03 Thread Thierry Bruyere
Hi,

I'm looking at a 404 error when accessing the URL: 
http://hg.tryton.org/trytond/trytond/modules/account_es

No worries for other url (but I have not tested everything): example: 
http://hg.tryton.org/trytond/trytond/modules/account_be -> OK

I saw the error by performing a hg npull in trytond

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/e6439ee6-9343-48a8-ae29-2b0a7a250827%40googlegroups.com.


Re: [tryton-dev] HTTP Error 404 http://hg.tryton.org/trytond/trytond/modules/account_es

2018-04-03 Thread Cédric Krier
Hi,

On 2018-04-02 23:57, Thierry Bruyere wrote:
> I'm looking at a 404 error when accessing the URL: 
> http://hg.tryton.org/trytond/trytond/modules/account_es

This is the result of 
http://www.tryton.org/posts/newsletter-april-2018.html#spanish-chart-of-account
The repository is still available at
https://hg.tryton.org/modules/account_es

-- 
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-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20180403083842.GW3910%40kei.


Re: [tryton-dev] Consolidated reports

2018-04-03 Thread Cédric Krier
On 2018-04-02 14:34, Josias Pérez wrote:
> Thanks for the info Cédric, and sorry for this [1]. 

But why still top-post?

> How could we start to adapt the get_multivalue method and how this affect 
> Access Rules?

It is about removing all attribute access to MultiValue by call to
get_multivalue with the right pattern.
It does not affect the access rules, it will just allow to remove those
that are purely for multi-company support.

> I know that that multi-company affect to sales, invoices, inventories and 
> more, so, could you give us a guideline on which modules start to develop 
> this? 

All modules that depends on company.

> [1] http://groups.tryton.org/netiquette
> [2] 
> https://github.com/tryton/company/blob/057e8b4749159c6bec255b712d45e50d2361646b/model.py#L11
-- 
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-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20180403083605.GV3910%40kei.