1
0
forked from erp-dev/erp

feat: added wecom notify when printing_job production was completed(new status) and shipment was created

This commit is contained in:
2026-04-09 17:35:14 +08:00
parent 76ea445880
commit 646dbe7f18
27 changed files with 1122 additions and 13 deletions

View File

@@ -5,3 +5,14 @@ class ShipmentConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'shipment'
verbose_name = '出货管理'
def ready(self):
from . import handlers
from .models import Shipment
from .signals import shipment_created
shipment_created.connect(
handlers.on_shipment_created,
sender=Shipment,
dispatch_uid="shipment.on_shipment_created",
)