On Saturday, April 18, 2015 at 11:55:03 AM UTC+2, Cédric Krier wrote:
>
> On 17 Apr 14:04, Simon Klemenc wrote: 
> > Hi there, 
> > 
> > I have a question regarding the setting of sequence numbers in 
> shipments.. 
> > 
> > Is there a good reason to set the reference in the validate function, 
> and 
> > not, say for example when assigning the shipment? 
>
> First this is absolutly not what Tryton does. 
> The code of shipment is set on creation. 
>

Please excuse the messup, its been some time since i checked.
 

>
> > To my opinion this would be more consistent with invoicing for example, 
> and 
> > on top of that it seems fiscal authorities in our country might become 
> > suspicious if there is a lot of missing numbers... (even with shipments) 
>
> I have very very very hight doubt that any authorities care about how 
> you number your shipments. 
>
>
Despite your doubts, they actually do when they see a lot of missing 
numbers.
In fact when they test your company, everything thats not in-line could 
make them suspicious.

> Would anything break when moving that to the assign function? 
>
> No but it will be difficult to do it. 
>
> because of calling super()? i know i would have to run a local branch of 
stock module...
 

> > (Also different naming (reference / code) irritates me a bit, but that 
> > might be personal...) 
>
> This is the naming of Tryton. Everything that is to identify internally 
> document is named "code" when "reference" is to identify from external. 
>
> I dont understand..
How is a shipment note internal, while an invoice is external?

thanks, regards,
simon

Reply via email to