PEP styling

This commit is contained in:
Maksim Stojkovic 2022-05-19 00:33:03 +10:00
parent 5ece98ed39
commit 276075ce05
2 changed files with 2 additions and 1 deletions

View File

@ -1117,7 +1117,7 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'default': False,
'validator': bool,
},
'PURCHASEORDER_REFERENCE_PREFIX': {
'name': _('Purchase Order Reference Prefix'),
'description': _('Prefix value for purchase order reference'),

View File

@ -810,6 +810,7 @@ class SalesOrder(Order):
def pending_shipment_count(self):
return self.pending_shipments().count()
@receiver(post_save, sender=SalesOrder, dispatch_uid='build_post_save_log')
def after_save_sales_order(sender, instance: SalesOrder, created: bool, **kwargs):
"""