_('The small package node or bill of lading node is not in the completed node, and the bill of lading cannot be changed to completed!'))# 小包节点或提单节点不在已完成节点,提单不能变为已完成!
_('The small package node or bill of lading node is not in the completed node, and the bill of lading cannot be changed to completed!'))# 小包节点或提单节点不在已完成节点,提单不能变为已完成!
defdone_func(self,is_email=False):
defdone_func(self,is_email=False,**kwargs):
"""
"""
变为已完成
变为已完成
"""
"""
foriteminself:
foriteminself:
ifitem.state=='ccing':
ifitem.state=='ccing':
item.state='done'
item.state='done'
# 如果选择了忽略节点异常,则记录异常原因
ifkwargs.get('exception_reason'):
exception_reason=kwargs['exception_reason']
message=_('The bill of loading is completed, but the node exception reason is %s!'%exception_reason)
_('The small package node or bill of lading node is not in the completed node, and the bill of lading cannot be changed to completed!'))# 小包节点或提单节点不在已完成节点,提单不能变为已完成!
_('The small package node or bill of lading node is not in the completed node, and the bill of lading cannot be changed to completed!'))# 小包节点或提单节点不在已完成节点,提单不能变为已完成!