mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-01 16:10:43 +00:00
Fix missed translation of overallocation string (#4681)
* Fix missed translation of overallocation string * Added missing translation prefix on string for Overallocation REJECT choice * Fix missing translation in part admin panel * Added missing translation prefix on string for "variant of" column in admin panel
This commit is contained in:
1 parent
d7bdcd95a6
commit
011b5915e1
2 files changed
+2
-2
No files matched your search
@@ -489,7 +489,7 @@ class OverallocationChoice():
|
||||
TRIM = 'trim'
|
||||
|
||||
OPTIONS = {
|
||||
REJECT: ('Not permitted'),
|
||||
REJECT: _('Not permitted'),
|
||||
ACCEPT: _('Accept as consumed by this build order'),
|
||||
TRIM: _('Deallocate before completing this build order'),
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ class PartResource(InvenTreeResource):
|
||||
category_name = Field(attribute='category__name', column_name=_('Category Name'), readonly=True)
|
||||
default_location = Field(attribute='default_location', column_name=_('Default Location ID'), widget=widgets.ForeignKeyWidget(StockLocation))
|
||||
default_supplier = Field(attribute='default_supplier', column_name=_('Default Supplier ID'), widget=widgets.ForeignKeyWidget(SupplierPart))
|
||||
variant_of = Field(attribute='variant_of', column_name=('Variant Of'), widget=widgets.ForeignKeyWidget(models.Part))
|
||||
variant_of = Field(attribute='variant_of', column_name=_('Variant Of'), widget=widgets.ForeignKeyWidget(models.Part))
|
||||
minimum_stock = Field(attribute='minimum_stock', column_name=_('Minimum Stock'))
|
||||
|
||||
# Part Attributes
|
||||
|
||||
Reference in new issue
Block a user