forked from erp-dev/erp
feat: shipment change && version modelize
This commit is contained in:
@@ -32,6 +32,7 @@ from api_v1.mdy_plate_order_staging_tiia_upload import (
|
||||
build_default_tiia_rate_limiter,
|
||||
upload_mdy_plate_order_staging_plate_images_to_tencent_tiia,
|
||||
)
|
||||
from api_v1.external_datetime import parse_external_china_datetime
|
||||
from api_v1.external_product_image_backfill import run_external_product_image_backfill
|
||||
from printing import models as printing_models
|
||||
|
||||
@@ -897,8 +898,8 @@ def _build_external_order_data(
|
||||
'rolling_warn': str(first.get('BeiZhu') or '').strip() or None,
|
||||
'curve': str(first.get('MeoA') or '').strip() or None,
|
||||
'position': str(first.get('FidJ') or '').strip() or None,
|
||||
'kd_riqi': _parse_external_datetime(first.get('KdRiQi')),
|
||||
'outgoing_date': _parse_external_datetime(first.get('KdRiQi')),
|
||||
'kd_riqi': parse_external_china_datetime(first.get('KdRiQi')),
|
||||
'outgoing_date': parse_external_china_datetime(first.get('KdRiQi')),
|
||||
'created_by': created_by_user,
|
||||
'external_order_id': external_order_id,
|
||||
'external_customer_id': external_customer_id or None,
|
||||
|
||||
Reference in New Issue
Block a user