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? -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpS74jL4Wd5L.pgp
Description: PGP signature
