mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
When creating a new price break for a supplier part, default to using the currency code specified for the supplier company
This commit is contained in:
1 parent
1532be9c1e
commit
51d2d85c26
6 files changed
+100
-8
No files matched your search
@@ -464,7 +464,14 @@ class PriceBreak(models.Model):
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
||||
quantity = InvenTree.fields.RoundingDecimalField(max_digits=15, decimal_places=5, default=1, validators=[MinValueValidator(1)])
|
||||
quantity = InvenTree.fields.RoundingDecimalField(
|
||||
max_digits=15,
|
||||
decimal_places=5,
|
||||
default=1,
|
||||
validators=[MinValueValidator(1)],
|
||||
verbose_name=_('Quantity'),
|
||||
help_text=_('Price break quantity'),
|
||||
)
|
||||
|
||||
price = MoneyField(
|
||||
max_digits=19,
|
||||
|
||||
Reference in new issue
Block a user