I have the following problem with purchase_amendment…
initial purchase order made with 6 articles, and an agent went to supplier with the PO to take quick delivery … where it became apparent he needed to manually write in an additional article to the order.
The delivery note contains this additional article.
Amending the PO in Tryton, we try to add a ‘change line’
But the ‘line’ field is mandatory - and if I select ‘search…’ then click on ‘new’ to add a line, all the fields are greyed out… impossible to save because ‘quantity’ is required for a line!
How to add the new write-in item?
NB deletions are simply setting the quantity to zero.
In Amendment for Sale and Purchase - #6 by ced you mention that you don’t want to manage certain things in the amendment.
But to ‘create’ the missing ‘line’ first, in order to change the quantity, why is it impossible to not simply invoke the form for purchase.lines.new() forcing quantity=0 in order to do such? It already displays such a form but with everything greyed out.
By the way, the amendment also seems to omit updating the delivery date.