示例#1
0
 def receive_purchase(self,
                      purchase_order: PurchaseOrder,
                      station: BranchStation,
                      user: LoginUser,
                      reserve=False):
     receiving = purchase_order.create_receiving_order(station)
     receiving.confirm(user)
     if reserve:
         self.reserve_products(purchase_order, user)