El 22/10/13 17:19, Cédric Krier ha escrit:
On 22/10/13 17:14 +0200, Sergi Almacellas Abellana wrote:
>El 22/10/13 17:04, Cédric Krier ha escrit:
> >On 22/10/13 16:54 +0200, Sergi Almacellas Abellana wrote:
> >>>El 22/10/13 16:05, Cédric Krier ha escrit:
> >>>> >Hi,
> >>>> >
> >>>> >I have an idea to prevent a kind of mistake in the stock management.
> >>>> >It is when user create stock move on shipments that are not linked to a
> >>>> >sale or purchase. Such cases are not really drama but could be annoying.
> >>>> >So the proposition will be to add a check on the incoming and outgoing
> >>>> >moves (when purchase and sale modules are installed) which prevent to do
> >>>> >them if they don't have an origin. FYI, the origin of a move is the link
> >>>> >between the move and the purchase/sale line.
> >>>> >
> >>>> >By the way, I don't think that using right management to disallow the
> >>>> >creation of stock move to stock user is a good solution.
> >>>> >
> >>>> >What do you think about?
> >>>I would understand this changes in custom modules, not in tryton core.
> >Why? Have you example where it doesn't work?
>All compaines where customer shipments are not related to sales. For
>example cooperative bussines, where all the shipments done to a
>associate are invoiced once a month, always when the shipment is
>done.
And how do you invoice such shipments if you don't use a sale (or
any other documents)?
By a custom wizard.
Current dessing allows to do it. My fear is that such change you're
propossing will break this use case.
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk