When creating an invoice ; clicking on Enter will close the window and save the invoice automatically, which can be a problem if I intended to save as draft or proforma and did not want a reference to be generated.
fill in description,
enter net amount
click enter to validate the entry. (or from Quantity Net amount , Discount and TVA amount fields, (not the description field)
window closes unexpectedly and generates the invoice. customer did not have a chance to save as draft or proforma
we should be able stay on the page and continue adding line items.