Re: [tryton-dev] Consolidated reports

2018-04-02 Thread Josias Pérez
Thanks for the info Cédric, and sorry for this [1]. 

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

I'm not sure if this in only a feature but if multi-company is supported, a 
user can have many companies assigned to this and in the Preferences screen an 
option to change company as needed. 

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? 

El domingo, 25 de marzo de 2018, 4:35:02 (UTC-6), Cédric Krier escribió:
> On 2018-03-24 21:26, Josias Pérez wrote:
> > I was reading discussion [1] and maybe we could know what is the status of 
> > the issues: 
> > 
> > - property field: it will not be possible to have correct 
> >   multi-company when we still have those shitty fields. 
> 
> This has been done in https://bugs.tryton.org/issue2349 which is linked
> to https://bugs.tryton.org/issue4080
> 
> > - context: in base we should never depend on context. 
> 
> This has not yet been done. It is about using get_multivalue method
> instead of using field attribute to get the value of the MultiValue
> field.
> I think the best way to process is to review module by module and create
> one issue per module for the patch.
> 
> > - user.company: in base we should never depend on this. 
> 
> I think it is almost gone but the source tree should be verified.
> 
> 
> 
> PS: Please do not top-post on this mailing list, see 
> http://groups.tryton.org/netiquette
> 
> -- 


[1] http://groups.tryton.org/netiquette
[2] 
https://github.com/tryton/company/blob/057e8b4749159c6bec255b712d45e50d2361646b/model.py#L11

-- 
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/44633b51-9efa-4c51-a8d7-9fb35ebbbce8%40googlegroups.com.


Re: [tryton-dev] Repository freeze

2018-04-02 Thread Cédric Krier
On 2018-03-26 18:11, Cédric Krier wrote:
> The translation will start next week on 2nd April and will end on 20th
> April at 20:00 CEST on https://pootle.tryton.org/

The translations have been updated. You can start translate.

-- 
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/20180402211931.GS3910%40kei.


Re: [tryton] reports

2018-04-02 Thread Cédric Krier
On 2018-03-30 02:00, Cato Nano wrote:
> and then I wonder: a not single report needs one only template fodt file and 
> then it will create as many copies as needed ?

For non-single report (which is the default), you need to loop over
records.
For single report, you can use directly record.

-- 
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/20180402211341.GR3910%40kei.


Re: [tryton] journal sequences by fiscal year

2018-04-02 Thread Cédric Krier
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.

> 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?

-- 
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/20180402195803.GQ3910%40kei.


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

2018-04-02 Thread Fernando Sánchez
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?

Gracias anticipadas por los aportes que puedan brindar.

Fernando Sánchez


[tryton] journal sequences by fiscal year

2018-04-02 Thread Richard PALO

How to set sequences created for general journals to reset every fiscal year?
It appears even the Default Account Journal sequence is shared...

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

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/8012d471-93e0-17ba-8184-fa7e6aace6a4%40free.fr.