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)