Commit Graph

2 Commits

Author SHA1 Message Date
jordi fita mas 0ee64f1905 Allow negative prices and quantities in invoices and quotes
This is necessary for credit forms, because it is “just” an invoice with
a negative amount, usually the inverse of an invoice that has to be
rectified.  This is a requirement for electronic invoicing too.

However, it is not the only use case: sometimes it is necessary to have
some lines with a negative quantity, even if the total is positive, to
emphasize discounts or to register expenses, like bank commissions in
autoinvoices.

Part of #61.
2025-01-21 23:11:29 +01:00
jordi fita mas efbb4da07f Added SQL views to compute computations amounts and edit them 2023-06-07 15:31:20 +02:00