2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

Allow negative currency values for "extra" line items (#3311)

This commit is contained in:
Oliver
2022-07-08 15:43:33 +10:00
committed by GitHub
parent 8f10bbb7e1
commit 78264868e1
2 changed files with 9 additions and 3 deletions

View File

@ -957,6 +957,7 @@ class OrderExtraLine(OrderLineItem):
max_digits=19,
decimal_places=4,
null=True, blank=True,
allow_negative=True,
verbose_name=_('Price'),
help_text=_('Unit price'),
)