Commit ed603dc
Fixed: Avoid displaying quantities equal to zero as 1 in the invoice items grid of the View Invoice screen (OFBIZ-13362)
Even when the invoice item quantity is correctly set to zero in the
database, the screen viewInvoice erroneously ‘visualize’ an invoice item
reporting one unit of the product.
The problem is due to the fact that the grid 'ListInvoiceItems' used in
the viewInvoice screen set the invoice item quantity to one when it is
zero. The change in the commit makes sure that the quantity visualized is
set to 1 only when the quantity is null.
(cherry picked from commit aef5f8e)1 parent a41476c commit ed603dc
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
0 commit comments