On 28 May 01:55, Paul Leverett wrote: > I've been struggling to understand the best way to manage the following > scenario: > > 1. Create a Purchase with multiple Lines of Products > 2. Confirm the Purchase > 3. After confirming, one line item is no longer required (or, say, > unexpectedly not available) > 4. We want to cancel the Line item from the Invoice and Shipment > > I have experimented with Credit notes to cancel-out the line in the > Invoice, but it still shows *Shipment State: Waiting *because there is a > Product Line item that has not been shipped (and never will be). It does > not seem right to receive the item and then do a Supplier Return because > the product is not being physically shipped and received. A Draft Move > exists in Moves --> From Suppliers Waiting. > > So, the question is: > "How can I cancel a line item from a confirmed Purchase when it has not > been (and will not be) shipped and is no longer required"?
The stock must be cancelled, there is the code for a button but it is not shown by default because it should be managed by shipment. So the easy way for now is to create a shipment, add the stock move and cancel the shipment. I create an issue to add the cancel button on the view: https://bugs.tryton.org/issue3945 -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpnLh3R1YC_B.pgp
Description: PGP signature
