forked from erp-dev/erp
fix: order_description change to copy by rolling_warn of printing_order
This commit is contained in:
@@ -170,7 +170,7 @@ class AgentShipmentListSerializer(serializers.ModelSerializer):
|
||||
)
|
||||
if printing_job is None or printing_job.printing_order is None:
|
||||
return None
|
||||
return printing_job.printing_order.description
|
||||
return printing_job.printing_order.rolling_warn
|
||||
|
||||
def get_sales_items(self, obj):
|
||||
items = [i for i in obj.items.all() if i.delete_at is None]
|
||||
|
||||
Reference in New Issue
Block a user